#1A1827 Hex Color

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

Hex color #1a1827 graphic
Dark and muted, #1a1827 is a near-black purple with blue-gray undertones and low lightness. Its serious, mysterious character suits dark-mode interfaces, gaming, spiritual branding, and moody layouts, where it works best as a dominant background. The hex code #1a1827 supports highly readable white text, with about a 17.4:1 contrast ratio.

Questions about #1a1827

What is #1a1827 in RGB, HSL and CMYK?
In RGB, #1a1827 is rgb(26, 24, 39), in HSL hsl(248, 24%, 12%) and in CMYK 33%, 38%, 0%, 85%. Browse more shades of black with names and hex codes.
What colors pair well with #1a1827?
#1a1827 pairs well with white, pale lavender, cool gray, and muted mauve, creating clear contrast while preserving its nocturnal mood and giving designers flexible options for backgrounds, borders, secondary surfaces, and restrained accent details.
Does #1a1827 read as a warm or cool color?
#1a1827 reads as a cool color because its near-black purple base carries blue-gray undertones, making it feel quieter and more distant than a red- or brown-based near-black in most surrounding palettes. That cool bias works well in focused, low-light interfaces and contemplative visual systems.
Is #1a1827 readable on white or black?
#1a1827 has a 17.44:1 contrast ratio on white and 1.20: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.