#1D1A28 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This extremely dark, inky violet sits on the edge of grey. Because #1d1a28 is so muted and desaturated, it functions best as a sophisticated background for dark mode interfaces. Pair it with soft cream or pastel peach to prevent the layout from feeling too oppressive. Since white text offers high contrast against this hex code, it remains a legible choice for body copy in moody brand designs.
Questions about #1d1a28
What is #1d1a28 in RGB, HSL and CMYK?
In RGB, #1d1a28 is rgb(29, 26, 40), in HSL hsl(253, 21%, 13%) and in CMYK 27%, 35%, 0%, 84%.
What colors pair well with #1d1a28?
This deep, muted violet works best with soft neutrals like cream or pastel peach to soften the overall composition. These lighter tones prevent the layout from feeling too oppressive while maintaining the sophisticated, moody aesthetic that #1d1a28 provides.
Is #1d1a28 a good choice for dark mode UI design?
Yes, #1d1a28 is an excellent choice for dark mode backgrounds because it is slightly softer and more nuanced than pure black. Its desaturated, inky quality provides strong contrast for white or light grey text, ensuring high legibility across digital interfaces.
Is #1d1a28 readable on white or black?
#1d1a28 has a 17.06:1 contrast ratio on white and 1.23: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.