#1B003B Hex Color

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

Hex color #1b003b graphic
With its near-black depth and cool violet undertones, #1b003b creates a serious, mysterious mood. This dark purple works well as a dominant background in luxury, spiritual, gaming, or moody designs, though fine details can disappear without lighter accents. The hex code is #1b003b, and white text achieves about 18.9:1 contrast.

Questions about #1b003b

What is #1b003b in RGB, HSL and CMYK?
In RGB, #1b003b is rgb(27, 0, 59), in HSL hsl(267, 100%, 12%) and in CMYK 54%, 100%, 0%, 77%.
What colors pair well with #1b003b?
The #1b003b hex color pairs well with white, pale lavender, soft pink, and muted gold, whose brightness offsets its near-black violet base while preserving a luxurious, mysterious mood in backgrounds and interface accents. Use lighter accents for borders, icons, and small details.
Does #1b003b look warm or cool?
The #1b003b hex color reads as cool because its purple base leans strongly toward blue, while its very low brightness gives it a near-black appearance rather than a warm, reddish purple. It feels formal, mysterious, and immersive in large areas.
Is #1b003b readable on white or black?
#1b003b has a 18.92:1 contrast ratio on white and 1.10: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.