#040521 Hex Color

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

Hex color #040521 graphic
#040521 is an almost-black, very dark shade with muted blue-violet undertones and a sooty, somber presence. The hex code works well as a dominant background for luxury branding, editorial layouts, and dark interfaces. White text reads clearly against it, with about a 20.0:1 contrast ratio. Pair it with muted gold or dusty lavender for controlled contrast and a premium finish.

Questions about #040521

What is #040521 in RGB, HSL and CMYK?
In RGB, #040521 is rgb(4, 5, 33), in HSL hsl(238, 78%, 7%) and in CMYK 88%, 85%, 0%, 87%. Browse more shades of black with names and hex codes.
What colors pair well with #040521?
#040521 pairs well with muted gold and dusty lavender, creating controlled contrast while preserving its sooty, blue-violet character; gold adds a refined accent, while lavender introduces a softer, cooler counterpoint.
Is #040521 readable on white or black?
#040521 has a 20.02:1 contrast ratio on white and 1.04: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.