Skip to main content

#5B21E4

Share this color with others or download a color card image with HEX and RGB values. Perfect for social media, presentations, or design reference.

All Formats

HEX
#5B21E4
RGB
rgb(91, 33, 228)
RGBA
rgba(91, 33, 228, 1)
HSL
hsl(257.85, 78.31%, 51.18%)
HSLA
hsla(258, 78%, 51%, 1)
CMYK
cmyk(60%, 86%, 0%, 11%)

Color Palettes

Harmonious color combinations based on #5B21E4

Monochromatic

Shades and tints of the same hue

#12062D
#351188
#581CE3
#9B77EE
#DED2F9

Analogous

Adjacent colors on the color wheel

#21A9E4
#2148E4
#5B21E4
#BD21E4
#E421A9

Complementary

Opposite color for maximum contrast

#5B21E4
#A9E421

Triadic

Three evenly spaced colors

#5B21E4
#E45B21
#21E45B

CSS Usage Examples

Background

background-color: #5B21E4;

Text

color: #5B21E4;

Border

border: 2px solid #5B21E4;

Shadow

box-shadow: 0 4px 6px #5B21E440;
Feedback