Skip to content
Kolorvia
#5f2e6e

Color #5f2e6e

A moderately saturated dark purple.

Conversions

HEX
#5f2e6e
RGB
rgb(95, 46, 110)
HSL
hsl(285.9, 41%, 30.6%)
HSV / HSB
hsv(285.9, 58.2%, 43.1%)
CMYK
cmyk(13.6%, 58.2%, 0%, 56.9%)
LAB
lab(28.15, 33.39, -28.01)
LCH
lch(28.15, 43.58, 320.01)
OKLCH
oklch(39.5%, 0.116, 317.73)
HWB
hwb(285.9, 18%, 56.9%)

Harmony colors

Complementary

#3d6e2e

Analogous

#3f2e6e
#5f2e6e
#6e2e5d

Triadic

#5f2e6e
#6e5f2e
#2e6e5f

Split-complementary

#5f2e6e
#5d6e2e
#2e6e3f

Tetradic

#5f2e6e
#6e2e3d
#3d6e2e
#2e6e5f

Square

#5f2e6e
#6e3f2e
#3d6e2e
#2e5d6e

Shades

Color #5f2e6e mixed toward black.

#4f265c
#3f1f49
#2f1737
#200f25
#100812

Tints

Color #5f2e6e mixed toward white.

#833f98
#a359b9
#ba82cb
#d1acdc
#e8d5ee

Tones

Color #5f2e6e mixed toward gray.

#5c3369
#593963
#573e5e
#544359
#514953

Accessibility

Aa White text on this color
9.99:1
Aa Black text on this color
2.1:1

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

Under color vision deficiencies

Protanopia

#4e4e63 · ΔE 16.1

Deuteranopia

#515460 · ΔE 19.5

Tritanopia

#5d5957 · ΔE 25.1

Achromatopsia

#424242 · ΔE 23.5

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

Code

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

Related colors

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

Frequently asked questions

#5f2e6e (#5f2e6e) is rgb(95, 46, 110) in RGB.

No, #5f2e6e 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 #5f2e6e, 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.