#542468 Color

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

Color preview

#542468

Color formats

HEX
#542468
RGB
rgb(84, 36, 104)
RGBA
rgba(84, 36, 104, 1)
HSL
hsl(282, 49%, 27%)
HSV
hsv(282, 65%, 41%)
CMYK
cmyk(19%, 65%, 0%, 59%)
CSS variable
--color-primary: #542468;
Lowercase HEX
#542468

Shades

Tints

Tones

Harmony

CSS snippets for #542468

.color-542468 {
  color: #542468;
  background-color: #542468;
}

Frequently asked questions

What color is #542468?+

#542468 is a HEX color with RGB value rgb(84, 36, 104) and HSL value hsl(282, 49%, 27%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #542468?+

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