Skip to content
Kolorvia
#1f1223

Color #1f1223

A muted very dark purple.

Conversions

HEX
#1f1223
RGB
rgb(31, 18, 35)
HSL
hsl(285.9, 32.1%, 10.4%)
HSV / HSB
hsv(285.9, 48.6%, 13.7%)
CMYK
cmyk(11.4%, 48.6%, 0%, 86.3%)
LAB
lab(7.64, 10.69, -9.2)
LCH
lch(7.64, 14.1, 319.28)
OKLCH
oklch(20.8%, 0.0378, 318)
HWB
hwb(285.9, 7.1%, 86.3%)

Harmony colors

Complementary

#162312

Analogous

#171223
#1f1223
#23121f

Triadic

#1f1223
#231f12
#12231f

Split-complementary

#1f1223
#1f2312
#122317

Tetradic

#1f1223
#231216
#162312
#12231f

Square

#1f1223
#231712
#162312
#121f23

Shades

Color #1f1223 mixed toward black.

#1a0f1d
#150c17
#100912
#0a060c
#050306

Tints

Color #1f1223 mixed toward white.

#4c2c55
#784688
#a068b1
#c09acb
#dfcde5

Tones

Color #1f1223 mixed toward gray.

#1e1322
#1e1520
#1d161f
#1c181d
#1b191c

Accessibility

Aa White text on this color
17.96:1
Aa Black text on this color
1.17:1

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

Under color vision deficiencies

Protanopia

#1a1a20 · ΔE 9.9

Deuteranopia

#1b1c1f · ΔE 12.1

Tritanopia

#1e1d1c · ΔE 13.5

Achromatopsia

#171717 · ΔE 13

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

Code

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

Related colors

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

Frequently asked questions

#1f1223 (#1f1223) is rgb(31, 18, 35) in RGB.

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