#0C040F Hex Color

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

Hex color #0c040f graphic
With a sooty, almost-black base and faint purple undertones, #0c040f creates a serious, secretive mood. The hex code #0c040f works well as a dominant background in dark interfaces, luxury branding, editorial layouts, and formal fashion designs. Its extreme darkness can swallow fine detail, so pair it with clear typography. White text has about 20.2:1 contrast.

Questions about #0c040f

What is #0c040f in RGB, HSL and CMYK?
In RGB, #0c040f is rgb(12, 4, 15), in HSL hsl(284, 58%, 4%) and in CMYK 20%, 73%, 0%, 94%.
What colors pair well with #0c040f?
#0c040f pairs well with white and pale cool neutrals for crisp contrast, while muted mauve or lavender accents bring out its faint purple undertone without making the palette feel overly bright.
Does #0c040f read warm or cool?
#0c040f reads as a cool, nearly black shade because its subtle purple undertone shifts the sooty base away from neutral gray, giving dark interfaces and formal layouts a serious, secretive character.
Is #0c040f readable on white or black?
#0c040f has a 20.19: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.