#1B1827 Hex Color

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

Hex color #1b1827 graphic
This nearly black, dusty violet carries an intense, ink-like darkness. With its low light value, #1b1827 creates a serious mood perfect for high-contrast UI backgrounds. It holds white text with excellent readability, making it a functional choice for dark mode designs. Because this hex code is so desaturated, pair it with soft metallics or bright neons to prevent it from appearing too flat or muddy.

Questions about #1b1827

What is #1b1827 in RGB, HSL and CMYK?
In RGB, #1b1827 is rgb(27, 24, 39), in HSL hsl(252, 24%, 12%) and in CMYK 31%, 38%, 0%, 85%.
Is #1b1827 better than pure black for dark mode interfaces?
#1b1827 is often more comfortable to view than pure black because its subtle violet undertones reduce the harshness of high-contrast interfaces. It creates a premium, ink-like depth while maintaining excellent readability for white or light-colored text in digital environments.
Which colors pair well with #1b1827?
This shade works beautifully with soft metallics like silver or champagne, as they pop against the dark, moody background. For a more vibrant look, pair it with bright neons or a soft mint to prevent the overall design from feeling too flat or muddy.
Is #1b1827 readable on white or black?
#1b1827 has a 17.40: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.