Skip to main content

#540E7C

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
#540E7C
RGB
rgb(84, 14, 124)
RGBA
rgba(84, 14, 124, 1)
HSL
hsl(278.18, 79.71%, 27.06%)
HSLA
hsla(278, 80%, 27%, 1)
CMYK
cmyk(32%, 89%, 0%, 51%)

Color Palettes

Harmonious color combinations based on #540E7C

Monochromatic

Shades and tints of the same hue

#1F052E
#5D0F8A
#9B19E6
#C375F0
#EBD1FA

Analogous

Adjacent colors on the color wheel

#0E367C
#1C0E7C
#540E7C
#7C0E6D
#7C0E36

Complementary

Opposite color for maximum contrast

#540E7C
#367C0E

Triadic

Three evenly spaced colors

#540E7C
#7C540E
#0E7C54

CSS Usage Examples

Background

background-color: #540E7C;

Text

color: #540E7C;

Border

border: 2px solid #540E7C;

Shadow

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