#06040F Hex Color

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

Hex color #06040f graphic
Reach for #06040f when flat black feels too heavy. This almost-black carries a faint violet undertone that surfaces on large screens and in dark mode layouts. As a dominant base, it gives white type about 20.3:1 contrast, well past WCAG AA. The hex code #06040f suits moody editorial design, premium branding, and formal palettes where depth matters more than brightness.

Questions about #06040f

What is #06040f in RGB, HSL and CMYK?
In RGB, #06040f is rgb(6, 4, 15), in HSL hsl(251, 58%, 4%) and in CMYK 60%, 73%, 0%, 94%. Browse more shades of black with names and hex codes.
What colors pair well with #06040f?
Muted warm accents like dusty rose, antique gold, and burnt sienna keep the violet undertone from reading cold. Keep accents small, since a base this dark dominates most palettes.
Is #06040f readable on white or black?
#06040f has a 20.34:1 contrast ratio on white and 1.03: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.