Skip to main content

#542E8B

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
#542E8B
RGB
rgb(84, 46, 139)
RGBA
rgba(84, 46, 139, 1)
HSL
hsl(264.52, 50.27%, 36.27%)
HSLA
hsla(265, 50%, 36%, 1)
CMYK
cmyk(40%, 67%, 0%, 45%)

Color Palettes

Harmonious color combinations based on #542E8B

Monochromatic

Shades and tints of the same hue

#170D26
#462673
#7540BF
#AC8CD9
#E3D9F2

Analogous

Adjacent colors on the color wheel

#2E638A
#2E368A
#542E8B
#822E8A
#8A2E63

Complementary

Opposite color for maximum contrast

#542E8B
#638A2E

Triadic

Three evenly spaced colors

#542E8B
#8A542E
#2E8A54

CSS Usage Examples

Background

background-color: #542E8B;

Text

color: #542E8B;

Border

border: 2px solid #542E8B;

Shadow

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