Skip to content
Kolorvia
#1f1c20

Color #1f1c20

A nearly neutral, gray-leaning very dark purple.

Conversions

HEX
#1f1c20
RGB
rgb(31, 28, 32)
HSL
hsl(285, 6.7%, 11.8%)
HSV / HSB
hsv(285, 12.5%, 12.5%)
CMYK
cmyk(3.1%, 12.5%, 0%, 87.5%)
LAB
lab(10.75, 2.44, -2.22)
LCH
lch(10.75, 3.3, 317.7)
OKLCH
oklch(23.2%, 0.0088, 317.77)
HWB
hwb(285, 11%, 87.5%)

Harmony colors

Complementary

#1d201c

Analogous

#1d1c20
#1f1c20
#201c1f

Triadic

#1f1c20
#201f1c
#1c201f

Split-complementary

#1f1c20
#1f201c
#1c201d

Tetradic

#1f1c20
#201c1d
#1d201c
#1c201f

Square

#1f1c20
#201d1c
#1d201c
#1c1f20

Shades

Color #1f1c20 mixed toward black.

#1a171b
#151315
#100e10
#0a090b
#050505

Tints

Color #1f1c20 mixed toward white.

#463f48
#6d6270
#928796
#b7afb9
#dbd7dc

Tones

Color #1f1c20 mixed toward gray.

#1f1c20
#1f1d1f
#1f1d1f
#1e1d1f
#1e1e1e

Accessibility

Aa White text on this color
16.86:1
Aa Black text on this color
1.25:1

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

Under color vision deficiencies

Protanopia

#1e1e1f · ΔE 3.3

Deuteranopia

#1e1e1f · ΔE 3.3

Tritanopia

#1f1e1e · ΔE 3.5

Achromatopsia

#1d1d1d · ΔE 3.9

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

Code

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

Related colors

Dark Violet #9400d3
Medium Orchid #ba55d3
Dark Orchid #9932cc
Indigo #4b0082
Blue Violet #8a2be2
Dark Magenta #8b008b

Frequently asked questions

#1f1c20 (#1f1c20) is rgb(31, 28, 32) in RGB.

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