Skip to content
Kolorvia
#5a2e78

Color #5a2e78

A moderately saturated dark purple.

Conversions

HEX
#5a2e78
RGB
rgb(90, 46, 120)
HSL
hsl(275.7, 44.6%, 32.5%)
HSV / HSB
hsv(275.7, 61.7%, 47.1%)
CMYK
cmyk(25%, 61.7%, 0%, 52.9%)
LAB
lab(28.07, 34.36, -34.53)
LCH
lch(28.07, 48.71, 314.86)
OKLCH
oklch(39.5%, 0.1254, 309.21)
HWB
hwb(275.7, 18%, 52.9%)

Harmony colors

Complementary

#4c782e

Analogous

#352e78
#5a2e78
#782e71

Triadic

#5a2e78
#785a2e
#2e785a

Split-complementary

#5a2e78
#71782e
#2e7835

Tetradic

#5a2e78
#782e4c
#4c782e
#2e785a

Square

#5a2e78
#78352e
#4c782e
#2e7178

Shades

Color #5a2e78 mixed toward black.

#4b2664
#3c1f50
#2d173c
#1e0f28
#0f0814

Tints

Color #5a2e78 mixed toward white.

#793ea1
#9659bf
#b083cf
#caacdf
#e5d6ef

Tones

Color #5a2e78 mixed toward gray.

#593472
#583a6c
#564065
#55475f
#544d59

Accessibility

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

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

Under color vision deficiencies

Protanopia

#4b4a6c · ΔE 12.7

Deuteranopia

#4d5068 · ΔE 15.7

Tritanopia

#58615e · ΔE 26.4

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: #5a2e78;
Tailwind (arbitrary value)
bg-[#5a2e78]

Related colors

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

Frequently asked questions

#5a2e78 (#5a2e78) is rgb(90, 46, 120) in RGB.

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