#28272E Hex Color

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

Hex color #28272e graphic
Dark and muted, #28272e is a purplish violet with ashy gray undertones and low lightness. It creates a serious, mysterious mood suited to dark-mode interfaces, gaming brands, and moody editorial layouts. Use the hex code #28272e as a dominant background with white text, which achieves about 14.8:1 contrast for accessible body copy.

Questions about #28272e

What is #28272e in RGB, HSL and CMYK?
In RGB, #28272e is rgb(40, 39, 46), in HSL hsl(249, 8%, 17%) and in CMYK 13%, 15%, 0%, 82%. Browse more shades of black with names and hex codes.
What colors pair well with #28272e?
The dark purplish violet pairs well with white, pale lavender, muted mauve, and cool gray, creating readable contrast while preserving its restrained mood in interfaces, branding, editorial layouts, and presentation themes. Softer accents keep the palette understated.
Is #28272e readable on white or black?
#28272e has a 14.78:1 contrast ratio on white and 1.41: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.