#540EF6 Color

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

Color preview

#540EF6

Color formats

HEX
#540EF6
RGB
rgb(84, 14, 246)
RGBA
rgba(84, 14, 246, 1)
HSL
hsl(258, 93%, 51%)
HSV
hsv(258, 94%, 96%)
CMYK
cmyk(66%, 94%, 0%, 4%)
CSS variable
--color-primary: #540EF6;
Lowercase HEX
#540ef6

Shades

Tints

Tones

Harmony

CSS snippets for #540EF6

.color-540ef6 {
  color: #540EF6;
  background-color: #540EF6;
}

Frequently asked questions

What color is #540EF6?+

#540EF6 is a HEX color with RGB value rgb(84, 14, 246) and HSL value hsl(258, 93%, 51%). Its closest CSS named color is BlueViolet.

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

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