Skip to main content

#542C8B

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
#542C8B
RGB
rgb(84, 44, 139)
RGBA
rgba(84, 44, 139, 1)
HSL
hsl(265.26, 51.91%, 35.88%)
HSLA
hsla(265, 52%, 36%, 1)
CMYK
cmyk(40%, 68%, 0%, 45%)

Color Palettes

Harmonious color combinations based on #542C8B

Monochromatic

Shades and tints of the same hue

#170C27
#462574
#743DC2
#AC8BDA
#E3D8F3

Analogous

Adjacent colors on the color wheel

#2C648C
#2C348C
#542C8B
#842C8C
#8C2C64

Complementary

Opposite color for maximum contrast

#542C8B
#648C2C

Triadic

Three evenly spaced colors

#542C8B
#8C542C
#2C8C54

CSS Usage Examples

Background

background-color: #542C8B;

Text

color: #542C8B;

Border

border: 2px solid #542C8B;

Shadow

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