Skip to content
Kolorvia
#5a2572

Color #5a2572

A moderately saturated dark purple.

Conversions

HEX
#5a2572
RGB
rgb(90, 37, 114)
HSL
hsl(281.3, 51%, 29.6%)
HSV / HSB
hsv(281.3, 67.5%, 44.7%)
CMYK
cmyk(21.1%, 67.5%, 0%, 55.3%)
LAB
lab(25.9, 37.75, -34.19)
LCH
lch(25.9, 50.93, 317.83)
OKLCH
oklch(37.8%, 0.1328, 313.57)
HWB
hwb(281.3, 14.5%, 55.3%)

Harmony colors

Complementary

#3d7225

Analogous

#332572
#5a2572
#722563

Triadic

#5a2572
#725a25
#25725a

Split-complementary

#5a2572
#637225
#257233

Tetradic

#5a2572
#72253d
#3d7225
#25725a

Square

#5a2572
#723325
#3d7225
#256372

Shades

Color #5a2572 mixed toward black.

#4b1f5f
#3c194c
#2d1239
#1e0c26
#0f0613

Tints

Color #5a2572 mixed toward white.

#7e349f
#9e4ac4
#b677d3
#cfa5e2
#e7d2f0

Tones

Color #5a2572 mixed toward gray.

#582b6c
#553265
#53385f
#503f58
#4e4552

Accessibility

Aa White text on this color
10.81:1
Aa Black text on this color
1.94:1

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

Under color vision deficiencies

Protanopia

#494866 · ΔE 14.9

Deuteranopia

#4b4e62 · ΔE 17.9

Tritanopia

#585a58 · ΔE 27.1

Achromatopsia

#3d3d3d · ΔE 24.5

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

Code

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

Related colors

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

Frequently asked questions

#5a2572 (#5a2572) is rgb(90, 37, 114) in RGB.

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