Color #221228
A muted very dark purple.
Conversions
#221228
rgb(34, 18, 40)
hsl(283.6, 37.9%, 11.4%)
hsv(283.6, 55%, 15.7%)
cmyk(15%, 55%, 0%, 84.3%)
lab(8.36, 13.31, -11.8)
lch(8.36, 17.79, 318.44)
oklch(21.5%, 0.0472, 316.37)
hwb(283.6, 7.1%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (17.72:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1c1c24 · ΔE 11.1
Deuteranopia
#1d1e23 · ΔE 13.2
Tritanopia
#21201f · ΔE 15.7
Achromatopsia
#181818 · ΔE 15.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #221228;
bg-[#221228]
Related colors
Frequently asked questions
#221228 (#221228) is rgb(34, 18, 40) in RGB.
No, #221228 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 #221228, or check how it holds up for accessibility.