#542C6D Color

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

Color preview

#542C6D

Color formats

HEX
#542C6D
RGB
rgb(84, 44, 109)
RGBA
rgba(84, 44, 109, 1)
HSL
hsl(277, 42%, 30%)
HSV
hsv(277, 60%, 43%)
CMYK
cmyk(23%, 60%, 0%, 57%)
CSS variable
--color-primary: #542C6D;
Lowercase HEX
#542c6d

Shades

Tints

Tones

Harmony

CSS snippets for #542C6D

.color-542c6d {
  color: #542C6D;
  background-color: #542C6D;
}

Frequently asked questions

What color is #542C6D?+

#542C6D is a HEX color with RGB value rgb(84, 44, 109) and HSL value hsl(277, 42%, 30%). Its closest CSS named color is DarkSlateBlue.

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

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