#1B1931 Hex Color

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

Hex color #1b1931 graphic
#1b1931 is an inky, desaturated violet that functions as a sophisticated alternative to pure black. This dark tone provides exceptional contrast for white text, making it a reliable choice for UI backgrounds. Because of its muted, dusty character, it pairs well with soft gold or cool silver accents. The hex code for this shade is #1b1931.

Questions about #1b1931

What is #1b1931 in RGB, HSL and CMYK?
In RGB, #1b1931 is rgb(27, 25, 49), in HSL hsl(245, 32%, 15%) and in CMYK 45%, 49%, 0%, 81%.
Is #1b1931 a better choice than pure black for UI design?
#1b1931 is often superior to pure black because it reduces eye strain and provides a softer, more modern aesthetic on screen. It adds a subtle layer of violet depth that makes white text appear crisp without harsh contrast issues.
What colors pair well with the deep tone of #1b1931?
This dark violet works beautifully with soft gold or cool silver accents to create a luxurious, balanced palette. For a more neutral approach, pairing it with crisp whites or very light grays allows the depth of the color to stand out effectively.
Is #1b1931 readable on white or black?
#1b1931 has a 17.07: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.