Skip to main content

#540CA1

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
#540CA1
RGB
rgb(84, 12, 161)
RGBA
rgba(84, 12, 161, 1)
HSL
hsl(268.99, 86.13%, 33.92%)
HSLA
hsla(269, 86%, 34%, 1)
CMYK
cmyk(48%, 93%, 0%, 37%)

Color Palettes

Harmonious color combinations based on #540CA1

Monochromatic

Shades and tints of the same hue

#19042F
#4A0B8E
#7C12ED
#B071F4
#E5D0FB

Analogous

Adjacent colors on the color wheel

#0C59A1
#0C0FA1
#540CA1
#9F0CA1
#A10C59

Complementary

Opposite color for maximum contrast

#540CA1
#59A10C

Triadic

Three evenly spaced colors

#540CA1
#A1540C
#0CA154

CSS Usage Examples

Background

background-color: #540CA1;

Text

color: #540CA1;

Border

border: 2px solid #540CA1;

Shadow

box-shadow: 0 4px 6px #540CA140;
Feedback