Color #221a32
A muted very dark purple.
Conversions
#221a32
rgb(34, 26, 50)
hsl(260, 31.6%, 14.9%)
hsv(260, 48%, 19.6%)
cmyk(32%, 48%, 0%, 80.4%)
lab(11.34, 10.43, -14.49)
lch(11.34, 17.85, 305.75)
oklch(24%, 0.0459, 298.24)
hwb(260, 10.2%, 80.4%)
Harmony colors
Accessibility
White text reads better on this background (16.64:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1f1f2d · ΔE 6.6
Deuteranopia
#1f202c · ΔE 8
Tritanopia
#222928 · ΔE 17.9
Achromatopsia
#1e1e1e · ΔE 14.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #221a32;
bg-[#221a32]
Related colors
Frequently asked questions
#221a32 (#221a32) is rgb(34, 26, 50) in RGB.
No, #221a32 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 #221a32, or check how it holds up for accessibility.