Skip to content
Kolorvia
#221b21

Color #221b21

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#221b21
RGB
rgb(34, 27, 33)
HSL
hsl(308.6, 11.5%, 12%)
HSV / HSB
hsv(308.6, 20.6%, 13.3%)
CMYK
cmyk(0%, 20.6%, 2.9%, 86.7%)
LAB
lab(10.8, 4.83, -2.84)
LCH
lch(10.8, 5.6, 329.54)
OKLCH
oklch(23.3%, 0.0155, 330.62)
HWB
hwb(308.6, 10.6%, 86.7%)

Harmony colors

Complementary

#1b221c

Analogous

#201b22
#221b21
#221b1e

Triadic

#221b21
#21221b
#1b2122

Split-complementary

#221b21
#1e221b
#1b2220

Tetradic

#221b21
#221c1b
#1b221c
#1b2122

Square

#221b21
#22201b
#1b221c
#1b1e22

Shades

Color #221b21 mixed toward black.

#1c171c
#171216
#110e11
#0b090b
#060506

Tints

Color #221b21 mixed toward white.

#4c3c4a
#765d72
#9c8298
#bdacba
#ded5dd

Tones

Color #221b21 mixed toward gray.

#221c21
#211c20
#201d20
#201d1f
#1f1e1f

Accessibility

Aa White text on this color
16.84:1
Aa Black text on this color
1.25:1

White text reads better on this background (16.84:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#1f1f20 · ΔE 6.1

Deuteranopia

#20201f · ΔE 7.4

Tritanopia

#221f1e · ΔE 5.8

Achromatopsia

#1d1d1d · ΔE 6.6

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #221b21;
Tailwind (arbitrary value)
bg-[#221b21]

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#221b21 (#221b21) is rgb(34, 27, 33) in RGB.

No, #221b21 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #221b21, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.