#1E1A21 Hex Color

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

Hex color #1e1a21 graphic
This desaturated violet sits right on the edge of grey, feeling more like a dim, atmospheric neutral than a true purple. Because it is so dark, #1e1a21 functions best as a sophisticated background for high-contrast interface elements. It provides excellent readability for white text, offering a softer, less aggressive alternative to pure black in modern dark mode layouts. The hex code for this moody shade is #1e1a21.

Questions about #1e1a21

What is #1e1a21 in RGB, HSL and CMYK?
In RGB, #1e1a21 is rgb(30, 26, 33), in HSL hsl(274, 12%, 12%) and in CMYK 9%, 21%, 0%, 87%. Browse more shades of black with names and hex codes.
Is #1e1a21 better than pure black for dark mode?
Yes, #1e1a21 offers a softer, less aggressive interface contrast that reduces eye strain while maintaining depth. Because it contains violet undertones rather than being a flat, cool grey, it feels more organic and less harsh when paired against standard white text elements.
What colors pair well with #1e1a21?
This shade works beautifully with warm, muted tones like cream or sand, which prevent the interface from feeling too cold. If you need a stronger visual hierarchy, pairing it with high-contrast off-white creates a sophisticated look without the visual vibration caused by stark black.
Is #1e1a21 readable on white or black?
#1e1a21 has a 17.14:1 contrast ratio on white and 1.22: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.