Skip to content
Kolorvia
#1a171e

Color #1a171e

A nearly neutral, gray-leaning very dark purple.

Conversions

HEX
#1a171e
RGB
rgb(26, 23, 30)
HSL
hsl(265.7, 13.2%, 10.4%)
HSV / HSB
hsv(265.7, 23.3%, 11.8%)
CMYK
cmyk(13.3%, 23.3%, 0%, 88.2%)
LAB
lab(8.36, 3.33, -4.36)
LCH
lch(8.36, 5.49, 307.37)
OKLCH
oklch(21.1%, 0.0143, 304.47)
HWB
hwb(265.7, 9%, 88.2%)

Harmony colors

Complementary

#1b1e17

Analogous

#17181e
#1a171e
#1e171e

Triadic

#1a171e
#1e1a17
#171e1a

Split-complementary

#1a171e
#1e1e17
#181e17

Tetradic

#1a171e
#1e171b
#1b1e17
#171e1a

Square

#1a171e
#1e1718
#1b1e17
#171e1e

Shades

Color #1a171e mixed toward black.

#161319
#110f14
#0d0c0f
#09080a
#040405

Tints

Color #1a171e mixed toward white.

#3f3849
#655974
#8b7e9c
#b1a9bd
#d8d4de

Tones

Color #1a171e mixed toward gray.

#1a181d
#1a181d
#1a191c
#1a191c
#1a1a1b

Accessibility

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

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

Under color vision deficiencies

Protanopia

#19191c · ΔE 3.7

Deuteranopia

#19191c · ΔE 3.7

Tritanopia

#1a1b1b · ΔE 6.3

Achromatopsia

#181818 · ΔE 5.8

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

Code

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

Related colors

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

Frequently asked questions

#1a171e (#1a171e) is rgb(26, 23, 30) in RGB.

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