Color #21071c
A moderately saturated very dark magenta.
Conversions
#21071c
rgb(33, 7, 28)
hsl(311.5, 65%, 7.8%)
hsv(311.5, 78.8%, 12.9%)
cmyk(0%, 78.8%, 15.2%, 87.1%)
lab(5.05, 15.54, -7.69)
lch(5.05, 17.34, 333.67)
oklch(18.5%, 0.056, 335.77)
hwb(311.5, 2.7%, 87.1%)
Harmony colors
Accessibility
White text reads better on this background (18.89:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#191918 · ΔE 16.8
Deuteranopia
#1a1b17 · ΔE 20.3
Tritanopia
#201514 · ΔE 11.5
Achromatopsia
#111111 · ΔE 15.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #21071c;
bg-[#21071c]
Related colors
Frequently asked questions
#21071c (#21071c) is rgb(33, 7, 28) in RGB.
No, #21071c 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 #21071c, or check how it holds up for accessibility.