Skip to content
Kolorvia
#1f0f27

Color #1f0f27

A moderately saturated very dark purple.

Conversions

HEX
#1f0f27
RGB
rgb(31, 15, 39)
HSL
hsl(280, 44.4%, 10.6%)
HSV / HSB
hsv(280, 61.5%, 15.3%)
CMYK
cmyk(20.5%, 61.5%, 0%, 84.7%)
LAB
lab(7.04, 13.85, -13.14)
LCH
lch(7.04, 19.09, 316.51)
OKLCH
oklch(20.4%, 0.0506, 313.4)
HWB
hwb(280, 5.9%, 84.7%)

Harmony colors

Complementary

#17270f

Analogous

#130f27
#1f0f27
#270f23

Triadic

#1f0f27
#271f0f
#0f271f

Split-complementary

#1f0f27
#23270f
#0f2713

Tetradic

#1f0f27
#270f17
#17270f
#0f271f

Square

#1f0f27
#27130f
#17270f
#0f2327

Shades

Color #1f0f27 mixed toward black.

#1a0d21
#150a1a
#100814
#0a050d
#050307

Tints

Color #1f0f27 mixed toward white.

#4b245e
#763995
#9e5ac0
#be91d5
#dfc8ea

Tones

Color #1f0f27 mixed toward gray.

#1e1125
#1e1323
#1d1521
#1c171f
#1c191d

Accessibility

Aa White text on this color
18.17:1
Aa Black text on this color
1.16:1

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

Under color vision deficiencies

Protanopia

#191923 · ΔE 10.6

Deuteranopia

#1a1b22 · ΔE 12.6

Tritanopia

#1e1f1e · ΔE 17

Achromatopsia

#161616 · ΔE 15.7

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

Code

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

Related colors

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

Frequently asked questions

#1f0f27 (#1f0f27) is rgb(31, 15, 39) in RGB.

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