Skip to main content

#5A1772

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
#5A1772
RGB
rgb(90, 23, 114)
RGBA
rgba(90, 23, 114, 1)
HSL
hsl(284.18, 66.42%, 26.86%)
HSLA
hsla(284, 66%, 27%, 1)
CMYK
cmyk(21%, 80%, 0%, 55%)

Color Palettes

Harmonious color combinations based on #5A1772

Monochromatic

Shades and tints of the same hue

#21092A
#641A7F
#A72BD4
#CA80E5
#EDD5F6

Analogous

Adjacent colors on the color wheel

#173072
#2D1772
#5A1772
#72175D
#721730

Complementary

Opposite color for maximum contrast

#5A1772
#307217

Triadic

Three evenly spaced colors

#5A1772
#725A17
#17725A

CSS Usage Examples

Background

background-color: #5A1772;

Text

color: #5A1772;

Border

border: 2px solid #5A1772;

Shadow

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