#542FD0 Color

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

Color preview

#542FD0

Color formats

HEX
#542FD0
RGB
rgb(84, 47, 208)
RGBA
rgba(84, 47, 208, 1)
HSL
hsl(254, 63%, 50%)
HSV
hsv(254, 77%, 82%)
CMYK
cmyk(60%, 77%, 0%, 18%)
CSS variable
--color-primary: #542FD0;
Lowercase HEX
#542fd0

Shades

Tints

Tones

Harmony

CSS snippets for #542FD0

.color-542fd0 {
  color: #542FD0;
  background-color: #542FD0;
}

Frequently asked questions

What color is #542FD0?+

#542FD0 is a HEX color with RGB value rgb(84, 47, 208) and HSL value hsl(254, 63%, 50%). Its closest CSS named color is SlateBlue.

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

The closest Tailwind color is indigo-700, available as the bg-indigo-700 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