#542286 Color

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

Color preview

#542286

Color formats

HEX
#542286
RGB
rgb(84, 34, 134)
RGBA
rgba(84, 34, 134, 1)
HSL
hsl(270, 60%, 33%)
HSV
hsv(270, 75%, 53%)
CMYK
cmyk(37%, 75%, 0%, 47%)
CSS variable
--color-primary: #542286;
Lowercase HEX
#542286

Shades

Tints

Tones

Harmony

CSS snippets for #542286

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

Frequently asked questions

What color is #542286?+

#542286 is a HEX color with RGB value rgb(84, 34, 134) and HSL value hsl(270, 60%, 33%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #542286?+

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