#542D7C Color

Inspect #542D7C across formats, palettes, contrast and closest named color matches.

Color preview

#542D7C

Color formats

HEX
#542D7C
RGB
rgb(84, 45, 124)
RGBA
rgba(84, 45, 124, 1)
HSL
hsl(270, 47%, 33%)
HSV
hsv(270, 64%, 49%)
CMYK
cmyk(32%, 64%, 0%, 51%)
CSS variable
--color-primary: #542D7C;
Lowercase HEX
#542d7c

Shades

Tints

Tones

Harmony

CSS snippets for #542D7C

.color-542d7c {
  color: #542D7C;
  background-color: #542D7C;
}

Frequently asked questions

What color is #542D7C?+

#542D7C is a HEX color with RGB value rgb(84, 45, 124) and HSL value hsl(270, 47%, 33%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #542D7C?+

The closest Tailwind color is purple-900, available as the bg-purple-900 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools