Skip to content
Kolorvia
#1e172a

Color #1e172a

A muted very dark purple.

Conversions

HEX
#1e172a
RGB
rgb(30, 23, 42)
HSL
hsl(262.1, 29.2%, 12.7%)
HSV / HSB
hsv(262.1, 45.2%, 16.5%)
CMYK
cmyk(28.6%, 45.2%, 0%, 83.5%)
LAB
lab(9.45, 8.63, -11.63)
LCH
lch(9.45, 14.48, 306.58)
OKLCH
oklch(22.3%, 0.0374, 300.33)
HWB
hwb(262.1, 9%, 83.5%)

Harmony colors

Complementary

#232a17

Analogous

#17192a
#1e172a
#27172a

Triadic

#1e172a
#2a1e17
#172a1e

Split-complementary

#1e172a
#2a2717
#192a17

Tetradic

#1e172a
#2a1723
#232a17
#172a1e

Square

#1e172a
#2a1719
#232a17
#172a27

Shades

Color #1e172a mixed toward black.

#191323
#140f1c
#0f0b15
#0a080e
#050407

Tints

Color #1e172a mixed toward white.

#40315a
#624b8a
#876fb0
#af9fca
#d7cfe5

Tones

Color #1e172a mixed toward gray.

#1e1928
#1f1a27
#1f1c25
#201d24
#201f22

Accessibility

Aa White text on this color
17.34:1
Aa Black text on this color
1.21:1

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

Under color vision deficiencies

Protanopia

#1b1b26 · ΔE 6.1

Deuteranopia

#1c1c25 · ΔE 7.1

Tritanopia

#1e2322 · ΔE 15.4

Achromatopsia

#1a1a1a · ΔE 12.5

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Indigo #4b0082
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee

Frequently asked questions

#1e172a (#1e172a) is rgb(30, 23, 42) in RGB.

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