Skip to content
Kolorvia
#1f0f2b

Color #1f0f2b

A moderately saturated very dark purple.

Conversions

HEX
#1f0f2b
RGB
rgb(31, 15, 43)
HSL
hsl(274.3, 48.3%, 11.4%)
HSV / HSB
hsv(274.3, 65.1%, 16.9%)
CMYK
cmyk(27.9%, 65.1%, 0%, 83.1%)
LAB
lab(7.29, 15.11, -15.75)
LCH
lch(7.29, 21.83, 313.81)
OKLCH
oklch(20.7%, 0.0567, 308.63)
HWB
hwb(274.3, 5.9%, 83.1%)

Harmony colors

Complementary

#1b2b0f

Analogous

#110f2b
#1f0f2b
#2b0f29

Triadic

#1f0f2b
#2b1f0f
#0f2b1f

Split-complementary

#1f0f2b
#292b0f
#0f2b11

Tetradic

#1f0f2b
#2b0f1b
#1b2b0f
#0f2b1f

Square

#1f0f2b
#2b110f
#1b2b0f
#0f292b

Shades

Color #1f0f2b mixed toward black.

#1a0d24
#150a1d
#100816
#0a050e
#050307

Tints

Color #1f0f2b mixed toward white.

#472263
#70369b
#9657c5
#b98fd8
#dcc7ec

Tones

Color #1f0f2b mixed toward gray.

#1f1129
#1e1426
#1e1624
#1e1822
#1d1b1f

Accessibility

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

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

Under color vision deficiencies

Protanopia

#191926 · ΔE 10.1

Deuteranopia

#1a1b25 · ΔE 12.1

Tritanopia

#1e2221 · ΔE 19.2

Achromatopsia

#161616 · ΔE 16.9

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

Code

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

Related colors

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

Frequently asked questions

#1f0f2b (#1f0f2b) is rgb(31, 15, 43) in RGB.

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