#542D6C Color

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

Color preview

#542D6C

Color formats

HEX
#542D6C
RGB
rgb(84, 45, 108)
RGBA
rgba(84, 45, 108, 1)
HSL
hsl(277, 41%, 30%)
HSV
hsv(277, 58%, 42%)
CMYK
cmyk(22%, 58%, 0%, 58%)
CSS variable
--color-primary: #542D6C;
Lowercase HEX
#542d6c

Shades

Tints

Tones

Harmony

CSS snippets for #542D6C

.color-542d6c {
  color: #542D6C;
  background-color: #542D6C;
}

Frequently asked questions

What color is #542D6C?+

#542D6C is a HEX color with RGB value rgb(84, 45, 108) and HSL value hsl(277, 41%, 30%). Its closest CSS named color is DarkSlateBlue.

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

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