#150D28 Hex Color

A deeply grounded, near-black midnight violet

Hex color #150d28 graphic
A near-black shade of violet, #150d28 carries cooling undertones and a serious, grounded mood. It serves as an effective base for dark mode interfaces. Because this color is so dark, white text remains legible with an 18.7:1 contrast ratio. Use the hex code #150d28 to anchor high-contrast accents, as the color often looks muddy when paired with other dark, desaturated tones.

Questions about #150d28

What is #150d28 in RGB, HSL and CMYK?
In RGB, #150d28 is rgb(21, 13, 40), in HSL hsl(258, 51%, 10%) and in CMYK 47%, 67%, 0%, 84%.
Why is #150d28 considered a better choice than pure black for interfaces?
Using #150d28 instead of pure black reduces eye strain and visual fatigue for users in low-light environments. Because it contains violet undertones, the color feels softer and more sophisticated than a flat, harsh black while maintaining high readability for white text.
What colors pair best with #150d28?
High-contrast accents like crisp white or bright neons work best because #150d28 is so dark that subtle colors often look muddy. If you need a softer approach, try pairing it with muted lavender or cool slate to maintain a cohesive, monochromatic feel.
Is #150d28 readable on white or black?
#150d28 has a 18.74:1 contrast ratio on white and 1.12: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.