Skip to content
Kolorvia
#1f1427

Color #1f1427

A muted very dark purple.

Conversions

HEX
#1f1427
RGB
rgb(31, 20, 39)
HSL
hsl(274.7, 32.2%, 11.6%)
HSV / HSB
hsv(274.7, 48.7%, 15.3%)
CMYK
cmyk(20.5%, 48.7%, 0%, 84.7%)
LAB
lab(8.46, 10.37, -10.92)
LCH
lch(8.46, 15.06, 313.52)
OKLCH
oklch(21.5%, 0.0394, 309.95)
HWB
hwb(274.7, 7.8%, 84.7%)

Harmony colors

Complementary

#1c2714

Analogous

#161427
#1f1427
#271426

Triadic

#1f1427
#271f14
#14271f

Split-complementary

#1f1427
#262714
#142716

Tetradic

#1f1427
#27141c
#1c2714
#14271f

Square

#1f1427
#271614
#1c2714
#142627

Shades

Color #1f1427 mixed toward black.

#1a1121
#150d1a
#100a14
#0a070d
#050307

Tints

Color #1f1427 mixed toward white.

#472e59
#6e478a
#946ab3
#b89ccc
#dbcde6

Tones

Color #1f1427 mixed toward gray.

#1f1626
#1f1724
#1e1922
#1e1a21
#1e1c1f

Accessibility

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

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

Under color vision deficiencies

Protanopia

#1b1b23 · ΔE 8.9

Deuteranopia

#1b1c22 · ΔE 10.4

Tritanopia

#1f201f · ΔE 14.6

Achromatopsia

#181818 · ΔE 13.3

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

Code

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

Related colors

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

Frequently asked questions

#1f1427 (#1f1427) is rgb(31, 20, 39) in RGB.

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