Skip to main content

#5A2F98

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
#5A2F98
RGB
rgb(90, 47, 152)
RGBA
rgba(90, 47, 152, 1)
HSL
hsl(264.57, 52.76%, 39.02%)
HSLA
hsla(265, 53%, 39%, 1)
CMYK
cmyk(41%, 69%, 0%, 40%)

Color Palettes

Harmonious color combinations based on #5A2F98

Monochromatic

Shades and tints of the same hue

#170C27
#462475
#743CC3
#AC8ADB
#E3D8F3

Analogous

Adjacent colors on the color wheel

#2F6C98
#2F3898
#5A2F98
#8F2F98
#982F6C

Complementary

Opposite color for maximum contrast

#5A2F98
#6C982F

Triadic

Three evenly spaced colors

#5A2F98
#985B2F
#2F985B

CSS Usage Examples

Background

background-color: #5A2F98;

Text

color: #5A2F98;

Border

border: 2px solid #5A2F98;

Shadow

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