Skip to content
Kolorvia
#21031b

Color #21031b

A vivid, highly saturated very dark magenta.

Conversions

HEX
#21031b
RGB
rgb(33, 3, 27)
HSL
hsl(312, 83.3%, 7.1%)
HSV / HSB
hsv(312, 90.9%, 12.9%)
CMYK
cmyk(0%, 90.9%, 18.2%, 87.1%)
LAB
lab(4.22, 16.92, -8.13)
LCH
lch(4.22, 18.77, 334.34)
OKLCH
oklch(17.6%, 0.0656, 336.64)
HWB
hwb(312, 1.2%, 87.1%)

Harmony colors

Complementary

#032109

Analogous

#180321
#21031b
#21030c

Triadic

#21031b
#1b2103
#031b21

Split-complementary

#21031b
#0c2103
#032118

Tetradic

#21031b
#210903
#032109
#031b21

Square

#21031b
#211803
#032109
#030c21

Shades

Color #21031b mixed toward black.

#1c0317
#160212
#11020e
#0b0109
#060105

Tints

Color #21031b mixed toward white.

#6a0a56
#b21092
#eb26c4
#f26ed8
#f8b7eb

Tones

Color #21031b mixed toward gray.

#1f061a
#1c0818
#1a0b17
#170d15
#151014

Accessibility

Aa White text on this color
19.2:1
Aa Black text on this color
1.09:1

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

Under color vision deficiencies

Protanopia

#181817 · ΔE 17.7

Deuteranopia

#191b16 · ΔE 22.7

Tritanopia

#201312 · ΔE 11.6

Achromatopsia

#0f0f0f · ΔE 16.6

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

Code

CSS
background-color: #21031b;
Tailwind (arbitrary value)
bg-[#21031b]

Related colors

Orchid #da70d6
Medium Violet Red #c71585
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#21031b (#21031b) is rgb(33, 3, 27) in RGB.

No, #21031b is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #21031b, 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.