Skip to content
Kolorvia
#170c21

Color #170c21

A moderately saturated very dark purple.

Conversions

HEX
#170c21
RGB
rgb(23, 12, 33)
HSL
hsl(271.4, 46.7%, 8.8%)
HSV / HSB
hsv(271.4, 63.6%, 12.9%)
CMYK
cmyk(30.3%, 63.6%, 0%, 87.1%)
LAB
lab(5.01, 9.5, -11.78)
LCH
lch(5.01, 15.13, 308.88)
OKLCH
oklch(18.2%, 0.0439, 306.77)
HWB
hwb(271.4, 4.7%, 87.1%)

Harmony colors

Complementary

#16210c

Analogous

#0c0c21
#170c21
#210c20

Triadic

#170c21
#21170c
#0c2117

Split-complementary

#170c21
#20210c
#0c210c

Tetradic

#170c21
#210c16
#16210c
#0c2117

Square

#170c21
#210c0c
#16210c
#0c2021

Shades

Color #170c21 mixed toward black.

#130a1b
#0f0816
#0b0610
#08040b
#040205

Tints

Color #170c21 mixed toward white.

#3f215a
#663593
#8d54c1
#b38dd6
#d9c6ea

Tones

Color #170c21 mixed toward gray.

#170e1f
#170f1d
#17111c
#17131a
#171518

Accessibility

Aa White text on this color
18.9:1
Aa Black text on this color
1.11:1

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

Under color vision deficiencies

Protanopia

#13131d · ΔE 7.5

Deuteranopia

#13141c · ΔE 8.9

Tritanopia

#171a19 · ΔE 15.2

Achromatopsia

#111111 · ΔE 13

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

Code

CSS
background-color: #170c21;
Tailwind (arbitrary value)
bg-[#170c21]

Related colors

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

Frequently asked questions

#170c21 (#170c21) is rgb(23, 12, 33) in RGB.

No, #170c21 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 #170c21, 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.