Skip to content
Kolorvia
#21172e

Color #21172e

A muted very dark purple.

Conversions

HEX
#21172e
RGB
rgb(33, 23, 46)
HSL
hsl(266.1, 33.3%, 13.5%)
HSV / HSB
hsv(266.1, 50%, 18%)
CMYK
cmyk(28.3%, 50%, 0%, 82%)
LAB
lab(10.06, 11.02, -13.6)
LCH
lch(10.06, 17.5, 309.02)
OKLCH
oklch(22.9%, 0.0452, 302.99)
HWB
hwb(266.1, 9%, 82%)

Harmony colors

Complementary

#242e17

Analogous

#17182e
#21172e
#2c172e

Triadic

#21172e
#2e2117
#172e21

Split-complementary

#21172e
#2e2c17
#182e17

Tetradic

#21172e
#2e1724
#242e17
#172e21

Square

#21172e
#2e1718
#242e17
#172e2c

Shades

Color #21172e mixed toward black.

#1b1326
#160f1f
#100b17
#0b080f
#050408

Tints

Color #21172e mixed toward white.

#442f5f
#674890
#8c6cb5
#b29dce
#d9cee6

Tones

Color #21172e mixed toward gray.

#21192c
#211b2a
#221d28
#221f26
#222124

Accessibility

Aa White text on this color
17.12:1
Aa Black text on this color
1.23:1

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

Under color vision deficiencies

Protanopia

#1d1d2a · ΔE 7.3

Deuteranopia

#1e1e29 · ΔE 8.3

Tritanopia

#212625 · ΔE 17.3

Achromatopsia

#1c1c1c · ΔE 14.4

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

Code

CSS
background-color: #21172e;
Tailwind (arbitrary value)
bg-[#21172e]

Related colors

Rebecca Purple #663399
Blue Violet #8a2be2
Medium Purple #9370db
Indigo #4b0082
Dark Orchid #9932cc
Dark Violet #9400d3

Frequently asked questions

#21172e (#21172e) is rgb(33, 23, 46) in RGB.

No, #21172e 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 #21172e, 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.