#23171D Hex Color

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

Hex color #23171d graphic
This deep, dusty shade functions as an almost-black with distinct, desaturated violet and pink undertones. Because it sits so close to black, #23171d provides a moody, serious foundation that avoids the flatness of pure grey. It pairs best with soft creams or warm metallic accents, offering exceptional readability for white text. Use this hex code as a dramatic background to establish a sense of mystery and depth.

Questions about #23171d

What is #23171d in RGB, HSL and CMYK?
In RGB, #23171d is rgb(35, 23, 29), in HSL hsl(330, 21%, 11%) and in CMYK 0%, 34%, 17%, 86%.
Does #23171d work well for website backgrounds?
Use #23171d as a background when you need a serious, moody aesthetic that remains softer than pure black. Its subtle violet undertones provide excellent readability for white or cream text, especially when used in high-end, minimalist, or luxury-focused digital projects.
What colors should I pair with #23171d?
This shade pairs beautifully with cream or soft off-white to balance its intensity, or warm metallics like gold and bronze to accentuate its hidden violet warmth. Avoid harsh, bright neons, as they can overwhelm the subtle, dusty character of this deep tone.
Is #23171d readable on white or black?
#23171d has a 17.33:1 contrast ratio on white and 1.21: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.