Skip to content
Kolorvia
#5f4f7f

Color #5f4f7f

A muted medium purple.

Conversions

HEX
#5f4f7f
RGB
rgb(95, 79, 127)
HSL
hsl(260, 23.3%, 40.4%)
HSV / HSB
hsv(260, 37.8%, 49.8%)
CMYK
cmyk(25.2%, 37.8%, 0%, 50.2%)
LAB
lab(37.04, 17.58, -24.7)
LCH
lch(37.04, 30.32, 305.44)
OKLCH
oklch(46.4%, 0.0782, 298.66)
HWB
hwb(260, 31%, 50.2%)

Harmony colors

Complementary

#6f7f4f

Analogous

#4f577f
#5f4f7f
#774f7f

Triadic

#5f4f7f
#7f5f4f
#4f7f5f

Split-complementary

#5f4f7f
#7f774f
#577f4f

Tetradic

#5f4f7f
#7f4f6f
#6f7f4f
#4f7f5f

Square

#5f4f7f
#7f4f57
#6f7f4f
#4f7f77

Shades

Color #5f4f7f mixed toward black.

#4f426a
#3f3555
#302840
#201a2a
#100d15

Tints

Color #5f4f7f mixed toward white.

#77639e
#9282b1
#ada1c5
#c8c1d8
#e4e0ec

Tones

Color #5f4f7f mixed toward gray.

#60537b
#625777
#635b73
#645f6f
#66636b

Accessibility

Aa White text on this color
7.21:1
Aa Black text on this color
2.91:1

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

Under color vision deficiencies

Protanopia

#595876 · ΔE 6.8

Deuteranopia

#595b73 · ΔE 9.4

Tritanopia

#5e6d6c · ΔE 23.2

Achromatopsia

#575757 · ΔE 19.6

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd

Frequently asked questions

#5f4f7f (#5f4f7f) is rgb(95, 79, 127) in RGB.

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