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

This extremely dark, somber shade carries a hint of deep purple, making it a sophisticated alternative to pure black. Because #0c0421 is so desaturated and dim, it functions best as a dominant UI background. It offers excellent contrast for white typography, though its near-black intensity can feel muddy in smaller, crowded layouts. The hex code for this moody tone is #0c0421.
Questions about #0c0421
What is #0c0421 in RGB, HSL and CMYK?
In RGB, #0c0421 is rgb(12, 4, 33), in HSL hsl(257, 78%, 7%) and in CMYK 64%, 88%, 0%, 87%.
Is #0c0421 suitable for text-heavy interface designs?
#0c0421 functions best as a dominant UI background rather than text because its near-black intensity can feel muddy in smaller, crowded layouts. Use it to provide high contrast for white typography, ensuring your interface maintains legibility while feeling grounded and premium.
What colors pair well with #0c0421 for a balanced palette?
This deep tone pairs beautifully with cool-toned gray or muted metallics to maintain a sophisticated, modern aesthetic. Because #0c0421 carries a subtle purple cast, pairing it with desaturated neutrals prevents the design from feeling too harsh or overly clinical.
Is #0c0421 readable on white or black?
#0c0421 has a 19.90:1 contrast ratio on white and 1.05: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.