Color #28162e
A muted very dark purple.
Conversions
#28162e
rgb(40, 22, 46)
hsl(285, 35.3%, 13.3%)
hsv(285, 52.2%, 18%)
cmyk(13%, 52.2%, 0%, 82%)
lab(10.72, 14.42, -12.49)
lch(10.72, 19.08, 319.1)
oklch(23.6%, 0.0509, 317.31)
hwb(285, 8.6%, 82%)
Harmony colors
Accessibility
White text reads better on this background (16.88:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#212129 · ΔE 12
Deuteranopia
#222428 · ΔE 15.1
Tritanopia
#272625 · ΔE 16.5
Achromatopsia
#1d1d1d · ΔE 15.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28162e;
bg-[#28162e]
Related colors
Frequently asked questions
#28162e (#28162e) is rgb(40, 22, 46) in RGB.
No, #28162e is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #28162e, or check how it holds up for accessibility.