#050407 Hex Color

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

Hex color #050407 graphic
Not quite black, and flatter than pure #000000. #050407 is an almost-black hex code with a faint purple undertone that reads sooty and dim. That slight softness makes it a strong base for dark mode UI and premium branding, where true black can feel harsh. White text hits about 20.5:1 contrast against it, so it clears WCAG AA for small body text with room to spare. Pair it with warm metallics or dusty mauve to bring out its undertone.

Questions about #050407

What is #050407 in RGB, HSL and CMYK?
In RGB, #050407 is rgb(5, 4, 7), in HSL hsl(260, 27%, 2%) and in CMYK 29%, 43%, 0%, 97%.
What colors pair well with #050407?
Warm metallics like brass and amber give #050407 a luxury feel, while dusty mauve echoes its purple undertone. Skip pure black pairings, where the difference reads as accidental.
Is #050407 readable on white or black?
#050407 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.