#05040A Hex Color

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

Hex color #05040a graphic
#05040a is an almost-black shade with a faint violet undertone. It reads sooty and somber, which suits dark mode interfaces, luxury branding, and editorial layouts. As a dominant base, it flatters muted golds and dusty plums more than bright accents. White text hits about 20.4:1 contrast against this hex code, so small body text clears WCAG AA with room to spare.

Questions about #05040a

What is #05040a in RGB, HSL and CMYK?
In RGB, #05040a is rgb(5, 4, 10), in HSL hsl(250, 43%, 3%) and in CMYK 50%, 60%, 0%, 96%.
Is #05040a warm or cool?
#05040a reads cool. Its blue and red channels sit above green, which pushes the undertone toward violet instead of brown or yellow. At such low lightness the tint is subtle, but it shows when the color sits next to warmer blacks.
What colors pair well with #05040a?
Muted golds, warm grays, and a dusty plum all sit well against #05040a. Its violet undertone turns muddy next to pure neon accents, so keep pairings desaturated.
Is #05040a readable on white or black?
#05040a has a 20.42: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.