#170A34 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #170a34 graphic
This muted, near-black violet feels serious and grounded. Because of its extremely dark saturation, #170a34 serves as a strong alternative to standard black for high-contrast UI backgrounds. It pairs well with crisp, cool whites for readability, maintaining an accessibility ratio of 18.6:1. Use this hex code sparingly as a dominant base, as its dusty undertones can quickly overwhelm smaller graphic elements.

Questions about #170a34

What is #170a34 in RGB, HSL and CMYK?
In RGB, #170a34 is rgb(23, 10, 52), in HSL hsl(259, 68%, 12%) and in CMYK 56%, 81%, 0%, 80%.
Is #170a34 a suitable substitute for pure black?
#170a34 is an excellent, softer alternative to pure black for high-contrast UI designs. Its violet undertones provide a more premium, less jarring feel than standard black, while still maintaining high readability when paired with crisp white text.
What colors pair well with #170a34?
This deep violet works beautifully with cool, crisp neutrals like silver or slate to maintain a modern, professional palette. For a sharper contrast, pair it with bright citrus accents or electric blue to add depth and visual energy.
Is #170a34 readable on white or black?
#170a34 has a 18.59:1 contrast ratio on white and 1.12:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.