#040511 Hex Color

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

Hex color #040511 graphic
This near-black tone functions as a softer alternative to pure black, offering an inky, somber character. The hex code #040511 works as a dominant background in dark mode interfaces, providing excellent contrast for white typography. Use it where readability matters, as it provides a comfortable dark base. Its cool, dusty undertones add gravity and authority to editorial layouts or sleek, high-end branding materials.

Questions about #040511

What is #040511 in RGB, HSL and CMYK?
In RGB, #040511 is rgb(4, 5, 17), in HSL hsl(235, 62%, 4%) and in CMYK 76%, 71%, 0%, 93%.
How does #040511 function differently than standard black?
#040511 acts as a softer alternative to pure black because its cool, dusty undertones reduce visual fatigue on high-contrast displays. It provides the same authoritative weight as black while feeling less harsh, making it ideal for large text blocks in modern UI design.
Which color combinations work best with #040511?
Because #040511 is a near-neutral deep tone, it excels when paired with crisp white or soft cream for maximum text readability. To add subtle character, incorporate muted metallic accents or cool slate tones to maintain a professional and cohesive aesthetic across your interface.
Is #040511 readable on white or black?
#040511 has a 20.29: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.