Skip to content
Kolorvia
#1c171b

Color #1c171b

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#1c171b
RGB
rgb(28, 23, 27)
HSL
hsl(312, 9.8%, 10%)
HSV / HSB
hsv(312, 17.9%, 11%)
CMYK
cmyk(0%, 17.9%, 3.6%, 89%)
LAB
lab(8.47, 3.46, -1.89)
LCH
lch(8.47, 3.94, 331.35)
OKLCH
oklch(21.2%, 0.0109, 332.73)
HWB
hwb(312, 9%, 89%)

Harmony colors

Complementary

#171c18

Analogous

#1a171c
#1c171b
#1c1719

Triadic

#1c171b
#1b1c17
#171b1c

Split-complementary

#1c171b
#191c17
#171c1a

Tetradic

#1c171b
#1c1817
#171c18
#171b1c

Square

#1c171b
#1c1a17
#171c18
#17191c

Shades

Color #1c171b mixed toward black.

#171316
#130f12
#0e0c0d
#090809
#050404

Tints

Color #1c171b mixed toward white.

#463a43
#705c6c
#978193
#baabb7
#dcd5db

Tones

Color #1c171b mixed toward gray.

#1c171b
#1b181a
#1b181a
#1a191a
#1a191a

Accessibility

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

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

Under color vision deficiencies

Protanopia

#1a1a1a · ΔE 4.9

Deuteranopia

#1a1b1a · ΔE 6.3

Tritanopia

#1c1919 · ΔE 3.4

Achromatopsia

#181818 · ΔE 4.9

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

Code

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

Related colors

Orchid #da70d6
Medium Violet Red #c71585
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#1c171b (#1c171b) is rgb(28, 23, 27) in RGB.

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