Skip to content
Kolorvia
#5a2d97

Color #5a2d97

A moderately saturated dark purple.

Conversions

HEX
#5a2d97
RGB
rgb(90, 45, 151)
HSL
hsl(265.5, 54.1%, 38.4%)
HSV / HSB
hsv(265.5, 70.2%, 59.2%)
CMYK
cmyk(40.4%, 70.2%, 0%, 40.8%)
LAB
lab(30.12, 42.93, -50.51)
LCH
lch(30.12, 66.29, 310.36)
OKLCH
oklch(41.7%, 0.1638, 298.4)
HWB
hwb(265.5, 17.6%, 40.8%)

Harmony colors

Complementary

#6a972d

Analogous

#2d3597
#5a2d97
#8f2d97

Triadic

#5a2d97
#975a2d
#2d975a

Split-complementary

#5a2d97
#978f2d
#35972d

Tetradic

#5a2d97
#972d6a
#6a972d
#2d975a

Square

#5a2d97
#972d35
#6a972d
#2d978f

Shades

Color #5a2d97 mixed toward black.

#4b257e
#3c1e65
#2d164b
#1e0f32
#0f0719

Tints

Color #5a2d97 mixed toward white.

#7239bf
#8e5ecf
#aa86db
#c6aee7
#e3d7f3

Tones

Color #5a2d97 mixed toward gray.

#5b368e
#5d3f85
#5e477c
#5f5074
#61596b

Accessibility

Aa White text on this color
9.3:1
Aa Black text on this color
2.26:1

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

Under color vision deficiencies

Protanopia

#4a4a87 · ΔE 10.8

Deuteranopia

#4d5082 · ΔE 13.1

Tritanopia

#587874 · ΔE 32.1

Achromatopsia

#474747 · ΔE 26.7

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

Code

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

Related colors

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

Frequently asked questions

#5a2d97 (#5a2d97) is rgb(90, 45, 151) in RGB.

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