Skip to content
Kolorvia
#1f182d

Color #1f182d

A muted very dark purple.

Conversions

HEX
#1f182d
RGB
rgb(31, 24, 45)
HSL
hsl(260, 30.4%, 13.5%)
HSV / HSB
hsv(260, 46.7%, 17.6%)
CMYK
cmyk(31.1%, 46.7%, 0%, 82.4%)
LAB
lab(10.06, 9.21, -12.87)
LCH
lch(10.06, 15.83, 305.59)
OKLCH
oklch(22.8%, 0.0407, 298.45)
HWB
hwb(260, 9.4%, 82.4%)

Harmony colors

Complementary

#262d18

Analogous

#181b2d
#1f182d
#29182d

Triadic

#1f182d
#2d1f18
#182d1f

Split-complementary

#1f182d
#2d2918
#1b2d18

Tetradic

#1f182d
#2d1826
#262d18
#182d1f

Square

#1f182d
#2d181b
#262d18
#182d29

Shades

Color #1f182d mixed toward black.

#1a1425
#15101e
#0f0c16
#0a080f
#050407

Tints

Color #1f182d mixed toward white.

#40325d
#614b8d
#866fb2
#ae9fcc
#d7cfe5

Tones

Color #1f182d mixed toward gray.

#201a2b
#201b29
#211d28
#211f26
#222124

Accessibility

Aa White text on this color
17.12:1
Aa Black text on this color
1.23:1

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

Under color vision deficiencies

Protanopia

#1c1c29 · ΔE 5.8

Deuteranopia

#1d1d28 · ΔE 6.8

Tritanopia

#1f2525 · ΔE 16

Achromatopsia

#1c1c1c · ΔE 13.2

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd

Frequently asked questions

#1f182d (#1f182d) is rgb(31, 24, 45) in RGB.

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