#040500 Hex Color

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

Hex color #040500 graphic
This near-black tone functions as a softer, more organic alternative to pure black. With its subtle ashy, sooty character, #040500 avoids the harshness of a flat zero-value black. It works best as a moody background for high-end editorial designs or luxury branding. Because it maintains a massive 20.5:1 contrast ratio against white, use this hex code for clean, readable text on dark interfaces.

Questions about #040500

What is #040500 in RGB, HSL and CMYK?
In RGB, #040500 is rgb(4, 5, 0), in HSL hsl(72, 100%, 1%) and in CMYK 20%, 0%, 100%, 98%.
Why use #040500 instead of a standard pure black?
Pure black can often appear artificial or flat on digital screens, whereas #040500 carries a subtle, sooty richness that feels more natural. It adds depth and a sense of luxury to layouts while preventing eye strain caused by extreme light-dark contrast.
Is #040500 readable on white or black?
#040500 has a 20.45: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.