Skip to content
Kolorvia
#5a2b6b

Color #5a2b6b

A moderately saturated dark purple.

Conversions

HEX
#5a2b6b
RGB
rgb(90, 43, 107)
HSL
hsl(284.1, 42.7%, 29.4%)
HSV / HSB
hsv(284.1, 59.8%, 42%)
CMYK
cmyk(15.9%, 59.8%, 0%, 58%)
LAB
lab(26.63, 32.92, -28.53)
LCH
lch(26.63, 43.56, 319.09)
OKLCH
oklch(38.1%, 0.1152, 316.23)
HWB
hwb(284.1, 16.9%, 58%)

Harmony colors

Complementary

#3c6b2b

Analogous

#3a2b6b
#5a2b6b
#6b2b5c

Triadic

#5a2b6b
#6b5a2b
#2b6b5a

Split-complementary

#5a2b6b
#5c6b2b
#2b6b3a

Tetradic

#5a2b6b
#6b2b3c
#3c6b2b
#2b6b5a

Square

#5a2b6b
#6b3a2b
#3c6b2b
#2b5c6b

Shades

Color #5a2b6b mixed toward black.

#4b2459
#3c1d47
#2d1535
#1e0e24
#0f0712

Tints

Color #5a2b6b mixed toward white.

#7e3c96
#9f54ba
#b77fcb
#cfa9dd
#e7d4ee

Tones

Color #5a2b6b mixed toward gray.

#583066
#553660
#523b5b
#504056
#4d4650

Accessibility

Aa White text on this color
10.54:1
Aa Black text on this color
1.99:1

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

Under color vision deficiencies

Protanopia

#4a4a60 · ΔE 15.6

Deuteranopia

#4c4f5d · ΔE 18.5

Tritanopia

#585654 · ΔE 25.7

Achromatopsia

#3f3f3f · ΔE 23.5

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

Code

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

Related colors

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

Frequently asked questions

#5a2b6b (#5a2b6b) is rgb(90, 43, 107) in RGB.

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