Skip to content
Kolorvia
#1d171c

Color #1d171c

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#1d171c
RGB
rgb(29, 23, 28)
HSL
hsl(310, 11.5%, 10.2%)
HSV / HSB
hsv(310, 20.7%, 11.4%)
CMYK
cmyk(0%, 20.7%, 3.4%, 88.6%)
LAB
lab(8.64, 4.2, -2.39)
LCH
lch(8.64, 4.83, 330.36)
OKLCH
oklch(21.4%, 0.0134, 331.53)
HWB
hwb(310, 9%, 88.6%)

Harmony colors

Complementary

#171d18

Analogous

#1b171d
#1d171c
#1d1719

Triadic

#1d171c
#1c1d17
#171c1d

Split-complementary

#1d171c
#191d17
#171d1b

Tetradic

#1d171c
#1d1817
#171d18
#171c1d

Square

#1d171c
#1d1b17
#171d18
#17191d

Shades

Color #1d171c mixed toward black.

#181317
#130f13
#0f0c0e
#0a0809
#050405

Tints

Color #1d171c mixed toward white.

#483945
#725b6e
#9a7f95
#bbaab9
#ddd4dc

Tones

Color #1d171c mixed toward gray.

#1d181c
#1c181b
#1c191b
#1b191b
#1b1a1a

Accessibility

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

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

Under color vision deficiencies

Protanopia

#1b1b1b · ΔE 5.9

Deuteranopia

#1b1b1b · ΔE 5.9

Tritanopia

#1d1a1a · ΔE 4.3

Achromatopsia

#191919 · ΔE 5.9

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

Code

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

Related colors

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

Frequently asked questions

#1d171c (#1d171c) is rgb(29, 23, 28) in RGB.

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