Skip to content
Kolorvia
#1e171c

Color #1e171c

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#1e171c
RGB
rgb(30, 23, 28)
HSL
hsl(317.1, 13.2%, 10.4%)
HSV / HSB
hsv(317.1, 23.3%, 11.8%)
CMYK
cmyk(0%, 23.3%, 6.7%, 88.2%)
LAB
lab(8.76, 4.68, -2.19)
LCH
lch(8.76, 5.17, 334.92)
OKLCH
oklch(21.5%, 0.0145, 336.44)
HWB
hwb(317.1, 9%, 88.2%)

Harmony colors

Complementary

#171e19

Analogous

#1d171e
#1e171c
#1e1719

Triadic

#1e171c
#1c1e17
#171c1e

Split-complementary

#1e171c
#191e17
#171e1d

Tetradic

#1e171c
#1e1917
#171e19
#171c1e

Square

#1e171c
#1e1d17
#171e19
#17191e

Shades

Color #1e171c mixed toward black.

#191317
#140f13
#0f0c0e
#0a0809
#050405

Tints

Color #1e171c mixed toward white.

#493844
#74596d
#9c7e93
#bda9b7
#ded4db

Tones

Color #1e171c mixed toward gray.

#1d181c
#1d181c
#1c191b
#1c191b
#1b1a1b

Accessibility

Aa White text on this color
17.58:1
Aa Black text on this color
1.19:1

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

Under color vision deficiencies

Protanopia

#1b1b1b · ΔE 6.3

Deuteranopia

#1c1c1b · ΔE 7.1

Tritanopia

#1e1a1a · ΔE 4.2

Achromatopsia

#191919 · ΔE 6.3

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

Code

CSS
background-color: #1e171c;
Tailwind (arbitrary value)
bg-[#1e171c]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#1e171c (#1e171c) is rgb(30, 23, 28) in RGB.

No, #1e171c 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 #1e171c, 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.