Skip to content
Kolorvia
#5b2ad1

Color #5b2ad1

A moderately saturated medium blue.

Conversions

HEX
#5b2ad1
RGB
rgb(91, 42, 209)
HSL
hsl(257.6, 66.5%, 49.2%)
HSV / HSB
hsv(257.6, 79.9%, 82%)
CMYK
cmyk(56.5%, 79.9%, 0%, 18%)
LAB
lab(34.97, 60.06, -77.06)
LCH
lch(34.97, 97.7, 307.93)
OKLCH
oklch(46.7%, 0.2318, 286.78)
HWB
hwb(257.6, 16.5%, 18%)

Harmony colors

Complementary

#a0d12a

Analogous

#2a4dd1
#5b2ad1
#ae2ad1

Triadic

#5b2ad1
#d15b2a
#2ad15b

Split-complementary

#5b2ad1
#d1ae2a
#4dd12a

Tetradic

#5b2ad1
#d12aa0
#a0d12a
#2ad15b

Square

#5b2ad1
#d12a4d
#a0d12a
#2ad1ae

Shades

Color #5b2ad1 mixed toward black.

#4c23ae
#3d1c8b
#2d1568
#1e0e46
#0f0723

Tints

Color #5b2ad1 mixed toward white.

#754bdb
#916fe2
#ac93e9
#c8b7f1
#e3dbf8

Tones

Color #5b2ad1 mixed toward gray.

#6138c3
#6646b5
#6c54a7
#726299
#78708b

Accessibility

Aa White text on this color
7.79:1
Aa Black text on this color
2.7:1

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

Under color vision deficiencies

Protanopia

#4a4aba · ΔE 8.4

Deuteranopia

#4d50b3 · ΔE 10.4

Tritanopia

#59a49f · ΔE 44.7

Achromatopsia

#525252 · ΔE 30.6

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

Code

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

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Rebecca Purple #663399
Blue Violet #8a2be2

Frequently asked questions

#5b2ad1 (#5b2ad1) is rgb(91, 42, 209) in RGB.

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