#0C0C12 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

The hex code #0c0c12 is an almost-black indigo with a faint violet undertone and very low saturation. Its ashy, somber character suits dark-mode interfaces, night-sky themes, luxury branding, and spiritual designs. Use it as a dominant background with white text, which achieves about 19.5:1 contrast, while brighter accents prevent layouts from feeling muddy.
Questions about #0c0c12
What is #0c0c12 in RGB, HSL and CMYK?
In RGB, #0c0c12 is rgb(12, 12, 18), in HSL hsl(240, 20%, 6%) and in CMYK 33%, 33%, 0%, 93%. Browse more shades of black with names and hex codes.
What colors pair well with #0c0c12?
#0c0c12 pairs well with white, pale lavender, cool gray, and restrained jewel-tone accents because its near-black base gives lighter or more saturated colors clear separation in interfaces, editorial layouts, and branding. Use brighter accents sparingly to preserve its quiet, luxurious mood.
Is #0c0c12 a warm or cool color?
#0c0c12 reads as a cool, almost-black indigo because its faint violet undertone shifts the near-neutral base toward blue-purple rather than brown, red, or warm charcoal in most digital interface contexts. That cool cast works well with moonlit themes and restrained luxury palettes.
Is #0c0c12 readable on white or black?
#0c0c12 has a 19.49:1 contrast ratio on white and 1.07: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.