Skip to content
Kolorvia
#5f2c71

Color #5f2c71

A moderately saturated dark purple.

Conversions

HEX
#5f2c71
RGB
rgb(95, 44, 113)
HSL
hsl(284.3, 43.9%, 30.8%)
HSV / HSB
hsv(284.3, 61.1%, 44.3%)
CMYK
cmyk(15.9%, 61.1%, 0%, 55.7%)
LAB
lab(27.92, 35.17, -30.29)
LCH
lch(27.92, 46.42, 319.26)
OKLCH
oklch(39.4%, 0.1227, 316.42)
HWB
hwb(284.3, 17.3%, 55.7%)

Harmony colors

Complementary

#3e712c

Analogous

#3c2c71
#5f2c71
#712c61

Triadic

#5f2c71
#715f2c
#2c715f

Split-complementary

#5f2c71
#61712c
#2c713c

Tetradic

#5f2c71
#712c3e
#3e712c
#2c715f

Square

#5f2c71
#713c2c
#3e712c
#2c6171

Shades

Color #5f2c71 mixed toward black.

#4f255e
#3f1d4b
#2f1639
#200f26
#100713

Tints

Color #5f2c71 mixed toward white.

#833d9b
#a256bd
#b980ce
#d0aade
#e8d5ef

Tones

Color #5f2c71 mixed toward gray.

#5c326b
#593866
#573d60
#54435a
#514954

Accessibility

Aa White text on this color
10.07:1
Aa Black text on this color
2.09:1

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

Under color vision deficiencies

Protanopia

#4e4d65 · ΔE 15.6

Deuteranopia

#505462 · ΔE 19.1

Tritanopia

#5d5b58 · ΔE 27.3

Achromatopsia

#424242 · ΔE 23.9

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

Code

CSS
background-color: #5f2c71;
Tailwind (arbitrary value)
bg-[#5f2c71]

Related colors

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

Frequently asked questions

#5f2c71 (#5f2c71) is rgb(95, 44, 113) in RGB.

No, #5f2c71 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #5f2c71, 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.