#050406 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Not quite pure black, #050406 carries a faint purple undertone that keeps it from reading flat. The hex code works as a dominant base for dark mode interfaces and luxury branding, where its ashy depth feels softer than #000000. White text reaches about 20.5:1 contrast, so small type stays readable.
Questions about #050406
What is #050406 in RGB, HSL and CMYK?
In RGB, #050406 is rgb(5, 4, 6), in HSL hsl(270, 20%, 2%) and in CMYK 17%, 33%, 0%, 98%. Browse more shades of black with names and hex codes.
Is #050406 good for dark mode backgrounds?
Yes. White text on #050406 reaches about 20.5:1 contrast, well past the 4.5:1 WCAG AA requirement for body text. Its slight purple undertone also keeps large interface areas from feeling as flat as pure black.
What colors pair well with #050406?
Warm metallics and dusty neutrals flatter its ashy undertone. Try accents of champagne or muted mauve for a premium feel. Softer off-whites pair better than stark white when you want contrast without harshness.
Is #050406 readable on white or black?
#050406 has a 20.45:1 contrast ratio on white and 1.02: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.