Color #22182a
A muted very dark purple.
Conversions
#22182a
rgb(34, 24, 42)
hsl(273.3, 27.3%, 12.9%)
hsv(273.3, 42.9%, 16.5%)
cmyk(19%, 42.9%, 0%, 83.5%)
lab(10.26, 9.48, -10.32)
lch(10.26, 14.01, 312.57)
oklch(23%, 0.0367, 309.25)
hwb(273.3, 9.4%, 83.5%)
Harmony colors
Accessibility
White text reads better on this background (17.04:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1e1e26 · ΔE 8.1
Deuteranopia
#1f1f26 · ΔE 8.7
Tritanopia
#222323 · ΔE 13.2
Achromatopsia
#1c1c1c · ΔE 12.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #22182a;
bg-[#22182a]
Related colors
Frequently asked questions
#22182a (#22182a) is rgb(34, 24, 42) in RGB.
No, #22182a 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 #22182a, or check how it holds up for accessibility.