Skip to content
Kolorvia
#1a171a

Color #1a171a

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#1a171a
RGB
rgb(26, 23, 26)
HSL
hsl(300, 6.1%, 9.6%)
HSV / HSB
hsv(300, 11.5%, 10.2%)
CMYK
cmyk(0%, 11.5%, 0%, 89.8%)
LAB
lab(8.19, 2.24, -1.58)
LCH
lch(8.19, 2.74, 324.8)
OKLCH
oklch(20.9%, 0.0075, 325.89)
HWB
hwb(300, 9%, 89.8%)

Harmony colors

Complementary

#171a17

Analogous

#18171a
#1a171a
#1a1718

Triadic

#1a171a
#1a1a17
#171a1a

Split-complementary

#1a171a
#181a17
#171a18

Tetradic

#1a171a
#1a1717
#171a17
#171a1a

Square

#1a171a
#1a1817
#171a17
#17181a

Shades

Color #1a171a mixed toward black.

#161316
#110f11
#0d0b0d
#090809
#040404

Tints

Color #1a171a mixed toward white.

#433b43
#6c5f6c
#938593
#b7adb7
#dbd6db

Tones

Color #1a171a mixed toward gray.

#1a171a
#191719
#191819
#191819
#191819

Accessibility

Aa White text on this color
17.78:1
Aa Black text on this color
1.18:1

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

Under color vision deficiencies

Protanopia

#191919 · ΔE 3.4

Deuteranopia

#191919 · ΔE 3.4

Tritanopia

#1a1919 · ΔE 2.9

Achromatopsia

#181818 · ΔE 3.4

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

Code

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

Related colors

Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8
Violet #ee82ee

Frequently asked questions

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

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