#0C040C Hex Color

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

Hex color #0c040c graphic
#0c040c is an inky, near-black shade with subtle purple undertones that provide a softer edge than true black. It works best as a primary background for luxury branding or minimalist editorial design, where it offers a sophisticated, somber mood. Because white text creates a 20.2:1 contrast ratio against it, this hex code is an excellent choice for highly legible, high-contrast dark mode interfaces.

Questions about #0c040c

What is #0c040c in RGB, HSL and CMYK?
In RGB, #0c040c is rgb(12, 4, 12), in HSL hsl(300, 50%, 3%) and in CMYK 0%, 67%, 0%, 95%.
What colors pair best with #0c040c for a balanced palette?
Pair #0c040c with high-contrast neutrals like crisp white or soft silvers to emphasize its hidden violet character. For a more dramatic scheme, incorporate muted metallics or deep jewel tones to complement the sophisticated, near-black foundation of this color.
Is #0c040c readable on white or black?
#0c040c has a 20.22: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.