Skip to main content

#542D8A

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
#542D8A
RGB
rgb(84, 45, 138)
RGBA
rgba(84, 45, 138, 1)
HSL
hsl(265.16, 50.82%, 35.88%)
HSLA
hsla(265, 51%, 36%, 1)
CMYK
cmyk(39%, 67%, 0%, 46%)

Color Palettes

Harmonious color combinations based on #542D8A

Monochromatic

Shades and tints of the same hue

#170C27
#462574
#753EC1
#AC8BDA
#E3D8F3

Analogous

Adjacent colors on the color wheel

#2D648B
#2D358B
#542D8A
#832D8B
#8B2D64

Complementary

Opposite color for maximum contrast

#542D8A
#648B2D

Triadic

Three evenly spaced colors

#542D8A
#8B542D
#2D8B54

CSS Usage Examples

Background

background-color: #542D8A;

Text

color: #542D8A;

Border

border: 2px solid #542D8A;

Shadow

box-shadow: 0 4px 6px #542D8A40;
Feedback