Color #28152a
A muted very dark magenta.
Conversions
#28152a
rgb(40, 21, 42)
hsl(294.3, 33.3%, 12.4%)
hsv(294.3, 50%, 16.5%)
cmyk(4.8%, 50%, 0%, 83.5%)
lab(10.22, 14.09, -10.33)
lch(10.22, 17.47, 323.75)
oklch(23.2%, 0.0475, 323.47)
hwb(294.3, 8.2%, 83.5%)
Harmony colors
Accessibility
White text reads better on this background (17.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#212126 · ΔE 13
Deuteranopia
#222325 · ΔE 15.1
Tritanopia
#272222 · ΔE 13.4
Achromatopsia
#1c1c1c · ΔE 15.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28152a;
bg-[#28152a]
Related colors
Frequently asked questions
#28152a (#28152a) is rgb(40, 21, 42) in RGB.
No, #28152a 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 #28152a, or check how it holds up for accessibility.