#540EEC Color

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

Color preview

#540EEC

Color formats

HEX
#540EEC
RGB
rgb(84, 14, 236)
RGBA
rgba(84, 14, 236, 1)
HSL
hsl(259, 89%, 49%)
HSV
hsv(259, 94%, 93%)
CMYK
cmyk(64%, 94%, 0%, 7%)
CSS variable
--color-primary: #540EEC;
Lowercase HEX
#540eec

Shades

Tints

Tones

Harmony

CSS snippets for #540EEC

.color-540eec {
  color: #540EEC;
  background-color: #540EEC;
}

Frequently asked questions

What color is #540EEC?+

#540EEC is a HEX color with RGB value rgb(84, 14, 236) and HSL value hsl(259, 89%, 49%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #540EEC?+

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