Skip to main content

#5A228B

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
#5A228B
RGB
rgb(90, 34, 139)
RGBA
rgba(90, 34, 139, 1)
HSL
hsl(272, 60.69%, 33.92%)
HSLA
hsla(272, 61%, 34%, 1)
CMYK
cmyk(35%, 76%, 0%, 45%)

Color Palettes

Harmonious color combinations based on #5A228B

Monochromatic

Shades and tints of the same hue

#1B0A29
#501E7B
#8532CD
#B684E1
#E7D6F5

Analogous

Adjacent colors on the color wheel

#22538C
#25228C
#5A228B
#8C2288
#8C2253

Complementary

Opposite color for maximum contrast

#5A228B
#538C22

Triadic

Three evenly spaced colors

#5A228B
#8C5A22
#228C5A

CSS Usage Examples

Background

background-color: #5A228B;

Text

color: #5A228B;

Border

border: 2px solid #5A228B;

Shadow

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