Skip to content
Kolorvia
#5a2c89

Color #5a2c89

A moderately saturated dark purple.

Conversions

HEX
#5a2c89
RGB
rgb(90, 44, 137)
HSL
hsl(269.7, 51.4%, 35.5%)
HSV / HSB
hsv(269.7, 67.9%, 53.7%)
CMYK
cmyk(34.3%, 67.9%, 0%, 46.3%)
LAB
lab(28.85, 39.77, -43.93)
LCH
lch(28.85, 59.26, 312.15)
OKLCH
oklch(40.4%, 0.1488, 302.99)
HWB
hwb(269.7, 17.3%, 46.3%)

Harmony colors

Complementary

#5b892c

Analogous

#2c2c89
#5a2c89
#892c89

Triadic

#5a2c89
#895a2c
#2c895a

Split-complementary

#5a2c89
#89892c
#2c892c

Tetradic

#5a2c89
#892c5b
#5b892c
#2c895a

Square

#5a2c89
#892c2c
#5b892c
#2c8989

Shades

Color #5a2c89 mixed toward black.

#4b2572
#3c1d5b
#2d1645
#1e0f2e
#0f0717

Tints

Color #5a2c89 mixed toward white.

#7539b3
#9159ca
#ac82d7
#c8ace4
#e3d5f2

Tones

Color #5a2c89 mixed toward gray.

#5a3481
#5a3c7a
#5a4372
#5a4b6a
#5a5362

Accessibility

Aa White text on this color
9.74:1
Aa Black text on this color
2.16:1

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

Under color vision deficiencies

Protanopia

#4a4a7a · ΔE 12

Deuteranopia

#4d4f76 · ΔE 14

Tritanopia

#586d6a · ΔE 28.6

Achromatopsia

#444444 · ΔE 25.7

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

Code

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

Related colors

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

Frequently asked questions

#5a2c89 (#5a2c89) is rgb(90, 44, 137) in RGB.

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