Color #21002f
A vivid, highly saturated very dark purple.
Conversions
#21002f
rgb(33, 0, 47)
hsl(282.1, 100%, 9.2%)
hsv(282.1, 100%, 18.4%)
cmyk(29.8%, 100%, 0%, 81.6%)
lab(4.77, 24.91, -22.72)
lch(4.77, 33.72, 317.63)
oklch(18.7%, 0.0927, 313.56)
hwb(282.1, 0%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (18.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#171728 · ΔE 13.1
Deuteranopia
#191b27 · ΔE 16
Tritanopia
#202221 · ΔE 22
Achromatopsia
#101010 · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #21002f;
bg-[#21002f]
Related colors
Frequently asked questions
#21002f (#21002f) is rgb(33, 0, 47) in RGB.
No, #21002f 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 #21002f, or check how it holds up for accessibility.