#28222E Hex Color

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

Hex color #28222e graphic
Dark mode interfaces are where this almost-black purple earns its place. The hex code #28222e carries a grayed violet undertone that keeps it from reading as flat as pure black, and white text on it hits about 15.5:1 contrast, well past AA. Its muted, inky character suits backgrounds and branding for gaming or wine labels. At large sizes it reads closer to charcoal than purple, so treat it as a base and let brighter accents do the talking.

Questions about #28222e

What is #28222e in RGB, HSL and CMYK?
In RGB, #28222e is rgb(40, 34, 46), in HSL hsl(270, 15%, 16%) and in CMYK 13%, 26%, 0%, 82%.
What colors pair well with #28222e?
Dusty gold and muted plum both flatter #28222e, since its low saturation lets slightly warmer tones carry the palette. For text and icons, white gives the strongest contrast at about 15.5:1.
Is #28222e warm or cool?
It leans cool because of its violet undertone, but the heavy gray keeps it neutral enough to sit beside warm shades without clashing. That flexibility makes it an easy fit in dark palettes.
Is #28222e readable on white or black?
#28222e has a 15.45:1 contrast ratio on white and 1.35: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.