Color #220c1e
A moderately saturated very dark magenta.
Conversions
#220c1e
rgb(34, 12, 30)
hsl(310.9, 47.8%, 9%)
hsv(310.9, 64.7%, 13.3%)
cmyk(0%, 64.7%, 11.8%, 86.7%)
lab(6.29, 14.39, -7.37)
lch(6.29, 16.17, 332.88)
oklch(19.7%, 0.0479, 334.51)
hwb(310.9, 4.7%, 86.7%)
Harmony colors
Accessibility
White text reads better on this background (18.43:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1b1a1b · ΔE 14.1
Deuteranopia
#1c1d1a · ΔE 18.7
Tritanopia
#211817 · ΔE 11.7
Achromatopsia
#141414 · ΔE 15
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #220c1e;
bg-[#220c1e]
Related colors
Frequently asked questions
#220c1e (#220c1e) is rgb(34, 12, 30) in RGB.
No, #220c1e 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 #220c1e, or check how it holds up for accessibility.