#050427 Hex Color

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

Hex color #050427 graphic
#050427 is an almost-black, heavily muted shade with subtle violet undertones. Its low lightness creates a somber, authoritative mood suited to luxury branding, editorial layouts, and dark mode interfaces. Use it as a dominant background with white typography, which achieves about 19.9:1 contrast. The hex code #050427 adds discreet depth to formal palettes.

Questions about #050427

What is #050427 in RGB, HSL and CMYK?
In RGB, #050427 is rgb(5, 4, 39), in HSL hsl(242, 81%, 8%) and in CMYK 87%, 90%, 0%, 85%. Browse more shades of black with names and hex codes.
What colors pair well with #050427?
White offers the clearest contrast, while muted mauve, lavender, and cool gray create restrained supporting accents that complement #050427 without competing with its deep violet base or weakening its formal, low-light mood.
Is #050427 readable on white or black?
#050427 has a 19.94:1 contrast ratio on white and 1.05: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.