Skip to content
Kolorvia
#5a2e74

Color #5a2e74

A moderately saturated dark purple.

Conversions

HEX
#5a2e74
RGB
rgb(90, 46, 116)
HSL
hsl(277.7, 43.2%, 31.8%)
HSV / HSB
hsv(277.7, 60.3%, 45.5%)
CMYK
cmyk(22.4%, 60.3%, 0%, 54.5%)
LAB
lab(27.81, 33.37, -32.4)
LCH
lch(27.81, 46.51, 315.84)
OKLCH
oklch(39.2%, 0.1207, 311.07)
HWB
hwb(277.7, 18%, 54.5%)

Harmony colors

Complementary

#48742e

Analogous

#372e74
#5a2e74
#742e6b

Triadic

#5a2e74
#745a2e
#2e745a

Split-complementary

#5a2e74
#6b742e
#2e7437

Tetradic

#5a2e74
#742e48
#48742e
#2e745a

Square

#5a2e74
#74372e
#48742e
#2e6b74

Shades

Color #5a2e74 mixed toward black.

#4b2661
#3c1f4d
#2d173a
#1e0f27
#0f0813

Tints

Color #5a2e74 mixed toward white.

#7a3f9e
#9859bd
#b282ce
#cbacde
#e5d5ef

Tones

Color #5a2e74 mixed toward gray.

#59346e
#573a68
#564063
#54455d
#534b57

Accessibility

Aa White text on this color
10.11:1
Aa Black text on this color
2.08:1

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

Under color vision deficiencies

Protanopia

#4b4a68 · ΔE 13.3

Deuteranopia

#4d5065 · ΔE 16.3

Tritanopia

#585e5b · ΔE 26.3

Achromatopsia

#424242 · ΔE 23.8

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

Code

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

Related colors

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

Frequently asked questions

#5a2e74 (#5a2e74) is rgb(90, 46, 116) in RGB.

No, #5a2e74 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #5a2e74, 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.