Skip to main content

#5A1871

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
#5A1871
RGB
rgb(90, 24, 113)
RGBA
rgba(90, 24, 113, 1)
HSL
hsl(284.49, 64.96%, 26.86%)
HSLA
hsla(284, 65%, 27%, 1)
CMYK
cmyk(20%, 79%, 0%, 56%)

Color Palettes

Harmonious color combinations based on #5A1871

Monochromatic

Shades and tints of the same hue

#21092A
#641B7E
#A62DD2
#CA81E4
#EDD5F6

Analogous

Adjacent colors on the color wheel

#183072
#2D1872
#5A1871
#72185D
#721830

Complementary

Opposite color for maximum contrast

#5A1871
#307218

Triadic

Three evenly spaced colors

#5A1871
#725A18
#18725A

CSS Usage Examples

Background

background-color: #5A1871;

Text

color: #5A1871;

Border

border: 2px solid #5A1871;

Shadow

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