Skip to content
Kolorvia
#522a8b

Color #522a8b

A moderately saturated dark purple.

Conversions

HEX
#522a8b
RGB
rgb(82, 42, 139)
HSL
hsl(264.7, 53.6%, 35.5%)
HSV / HSB
hsv(264.7, 69.8%, 54.5%)
CMYK
cmyk(41%, 69.8%, 0%, 45.5%)
LAB
lab(27.61, 39.64, -47.24)
LCH
lch(27.61, 61.67, 310)
OKLCH
oklch(39.3%, 0.1525, 297.88)
HWB
hwb(264.7, 16.5%, 45.5%)

Harmony colors

Complementary

#638b2a

Analogous

#2a338b
#522a8b
#822a8b

Triadic

#522a8b
#8b522a
#2a8b52

Split-complementary

#522a8b
#8b822a
#338b2a

Tetradic

#522a8b
#8b2a63
#638b2a
#2a8b52

Square

#522a8b
#8b2a33
#638b2a
#2a8b82

Shades

Color #522a8b mixed toward black.

#442374
#371c5d
#291546
#1b0e2e
#0e0717

Tints

Color #522a8b mixed toward white.

#6b37b5
#8757cc
#a581d9
#c3abe6
#e1d5f2

Tones

Color #522a8b mixed toward gray.

#533283
#553a7b
#564273
#584a6b
#595263

Accessibility

Aa White text on this color
10.18:1
Aa Black text on this color
2.06:1

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

Under color vision deficiencies

Protanopia

#44447c · ΔE 10.2

Deuteranopia

#464978 · ΔE 12.3

Tritanopia

#516e6b · ΔE 30

Achromatopsia

#414141 · ΔE 26

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

Code

CSS
background-color: #522a8b;
Tailwind (arbitrary value)
bg-[#522a8b]

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Indigo #4b0082
Dark Orchid #9932cc
Dark Slate Blue #483d8b

Frequently asked questions

#522a8b (#522a8b) is rgb(82, 42, 139) in RGB.

No, #522a8b 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 #522a8b, 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.