Skip to main content

#542AA5

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
#542AA5
RGB
rgb(84, 42, 165)
RGBA
rgba(84, 42, 165, 1)
HSL
hsl(260.49, 59.42%, 40.59%)
HSLA
hsla(260, 59%, 41%, 1)
CMYK
cmyk(49%, 75%, 0%, 35%)

Color Palettes

Harmonious color combinations based on #542AA5

Monochromatic

Shades and tints of the same hue

#140A29
#3D1F7A
#6634CB
#A385E0
#E0D6F5

Analogous

Adjacent colors on the color wheel

#2B7DA6
#2B3FA6
#542AA5
#922BA6
#A62B7D

Complementary

Opposite color for maximum contrast

#542AA5
#7DA62B

Triadic

Three evenly spaced colors

#542AA5
#A6542B
#2BA654

CSS Usage Examples

Background

background-color: #542AA5;

Text

color: #542AA5;

Border

border: 2px solid #542AA5;

Shadow

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