Skip to content
Kolorvia
#5f4e89

Color #5f4e89

A muted medium blue.

Conversions

HEX
#5f4e89
RGB
rgb(95, 78, 137)
HSL
hsl(257.3, 27.4%, 42.2%)
HSV / HSB
hsv(257.3, 43.1%, 53.7%)
CMYK
cmyk(30.7%, 43.1%, 0%, 46.3%)
LAB
lab(37.28, 20.9, -30.45)
LCH
lch(37.28, 36.93, 304.46)
OKLCH
oklch(46.8%, 0.0947, 295.78)
HWB
hwb(257.3, 30.6%, 46.3%)

Harmony colors

Complementary

#78894e

Analogous

#4e5b89
#5f4e89
#7d4e89

Triadic

#5f4e89
#895f4e
#4e895f

Split-complementary

#5f4e89
#897d4e
#5b894e

Tetradic

#5f4e89
#894e78
#78894e
#4e895f

Square

#5f4e89
#894e5b
#78894e
#4e897d

Shades

Color #5f4e89 mixed toward black.

#4f4172
#3f345b
#302745
#201a2e
#100d17

Tints

Color #5f4e89 mixed toward white.

#7663a6
#9182b8
#ada1c9
#c8c0db
#e4e0ed

Tones

Color #5f4e89 mixed toward gray.

#615384
#63587f
#655d7a
#676275
#6a6771

Accessibility

Aa White text on this color
7.15:1
Aa Black text on this color
2.94:1

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

Under color vision deficiencies

Protanopia

#58587e · ΔE 6.4

Deuteranopia

#595a7b · ΔE 7.8

Tritanopia

#5e7472 · ΔE 25.5

Achromatopsia

#585858 · ΔE 21.4

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

Code

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

Related colors

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

Frequently asked questions

#5f4e89 (#5f4e89) is rgb(95, 78, 137) in RGB.

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