Skip to content
Kolorvia
#5a2e77

Color #5a2e77

A moderately saturated dark purple.

Conversions

HEX
#5a2e77
RGB
rgb(90, 46, 119)
HSL
hsl(276.2, 44.2%, 32.4%)
HSV / HSB
hsv(276.2, 61.3%, 46.7%)
CMYK
cmyk(24.4%, 61.3%, 0%, 53.3%)
LAB
lab(28.01, 34.11, -34)
LCH
lch(28.01, 48.16, 315.09)
OKLCH
oklch(39.4%, 0.1243, 309.65)
HWB
hwb(276.2, 18%, 53.3%)

Harmony colors

Complementary

#4b772e

Analogous

#362e77
#5a2e77
#772e70

Triadic

#5a2e77
#775a2e
#2e775a

Split-complementary

#5a2e77
#70772e
#2e7736

Tetradic

#5a2e77
#772e4b
#4b772e
#2e775a

Square

#5a2e77
#77362e
#4b772e
#2e7077

Shades

Color #5a2e77 mixed toward black.

#4b2663
#3c1f4f
#2d173c
#1e0f28
#0f0814

Tints

Color #5a2e77 mixed toward white.

#7a3ea1
#9759bf
#b183cf
#cbacdf
#e5d6ef

Tones

Color #5a2e77 mixed toward gray.

#593471
#583a6b
#564065
#55465f
#544d59

Accessibility

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

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

Under color vision deficiencies

Protanopia

#4b4a6b · ΔE 12.9

Deuteranopia

#4d5068 · ΔE 15.7

Tritanopia

#58605d · ΔE 26.3

Achromatopsia

#424242 · ΔE 24.1

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

Code

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

Related colors

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

Frequently asked questions

#5a2e77 (#5a2e77) is rgb(90, 46, 119) in RGB.

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