Skip to main content

#542F98

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
#542F98
RGB
rgb(84, 47, 152)
RGBA
rgba(84, 47, 152, 1)
HSL
hsl(261.14, 52.76%, 39.02%)
HSLA
hsla(261, 53%, 39%, 1)
CMYK
cmyk(45%, 69%, 0%, 40%)

Color Palettes

Harmonious color combinations based on #542F98

Monochromatic

Shades and tints of the same hue

#150C27
#402475
#6B3CC3
#A68ADB
#E1D8F3

Analogous

Adjacent colors on the color wheel

#2F7398
#2F3F98
#542F98
#882F98
#982F73

Complementary

Opposite color for maximum contrast

#542F98
#73982F

Triadic

Three evenly spaced colors

#542F98
#98542F
#2F9854

CSS Usage Examples

Background

background-color: #542F98;

Text

color: #542F98;

Border

border: 2px solid #542F98;

Shadow

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