Skip to content
Kolorvia
#1b171d

Color #1b171d

A nearly neutral, gray-leaning very dark purple.

Conversions

HEX
#1b171d
RGB
rgb(27, 23, 29)
HSL
hsl(280, 11.5%, 10.2%)
HSV / HSB
hsv(280, 20.7%, 11.4%)
CMYK
cmyk(6.9%, 20.7%, 0%, 88.6%)
LAB
lab(8.43, 3.51, -3.48)
LCH
lch(8.43, 4.94, 315.25)
OKLCH
oklch(21.2%, 0.0131, 314.69)
HWB
hwb(280, 9%, 88.6%)

Harmony colors

Complementary

#191d17

Analogous

#18171d
#1b171d
#1d171c

Triadic

#1b171d
#1d1b17
#171d1b

Split-complementary

#1b171d
#1c1d17
#171d18

Tetradic

#1b171d
#1d1719
#191d17
#171d1b

Square

#1b171d
#1d1817
#191d17
#171c1d

Shades

Color #1b171d mixed toward black.

#171318
#120f13
#0e0c0f
#09080a
#050405

Tints

Color #1b171d mixed toward white.

#433948
#6a5b72
#917f9a
#b6aabb
#dad4dd

Tones

Color #1b171d mixed toward gray.

#1b181d
#1b181c
#1b191c
#1a191b
#1a1a1b

Accessibility

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

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

Under color vision deficiencies

Protanopia

#19191c · ΔE 3.7

Deuteranopia

#1a1a1b · ΔE 4.9

Tritanopia

#1b1b1a · ΔE 6.4

Achromatopsia

#181818 · ΔE 5.5

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

Code

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

Related colors

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

Frequently asked questions

#1b171d (#1b171d) is rgb(27, 23, 29) in RGB.

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