Color #21123d
A moderately saturated very dark purple.
Conversions
#21123d
rgb(33, 18, 61)
hsl(260.9, 54.4%, 15.5%)
hsv(260.9, 70.5%, 23.9%)
cmyk(45.9%, 70.5%, 0%, 76.1%)
lab(9.74, 19.43, -24.95)
lch(9.74, 31.62, 307.91)
oklch(23%, 0.0789, 295.62)
hwb(260.9, 7.1%, 76.1%)
Harmony colors
Accessibility
White text reads better on this background (17.23:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1b1b36 · ΔE 6.8
Deuteranopia
#1c1d34 · ΔE 8.6
Tritanopia
#20302e · ΔE 24.3
Achromatopsia
#1b1b1b · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #21123d;
bg-[#21123d]
Related colors
Frequently asked questions
#21123d (#21123d) is rgb(33, 18, 61) in RGB.
No, #21123d 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 #21123d, or check how it holds up for accessibility.