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

Almost black with a faint olive undertone, #040502 feels ashy, sooty, and severe rather than pure black. The hex code #040502 works well as a dominant base for dark-mode interfaces, luxury branding, editorial layouts, and formal typography. White text reaches about 20.4:1 contrast here, supporting clear small body copy.
Questions about #040502
What is #040502 in RGB, HSL and CMYK?
In RGB, #040502 is rgb(4, 5, 2), in HSL hsl(80, 43%, 1%) and in CMYK 20%, 0%, 60%, 98%.
What colors pair well with #040502?
For balanced palettes, pair #040502 with cream or warm beige, then use muted sage, olive, terracotta, or muted gold as accents; these warmer colors soften its harshness and reinforce its faint olive cast.
Does #040502 read as warm or cool?
#040502 reads as nearly neutral black with a faint warm olive cast, while its extremely low brightness creates a severe, ashy mood rather than the crisp neutrality of pure black.
Is #040502 readable on white or black?
#040502 has a 20.43:1 contrast ratio on white and 1.02: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.