#540DEE Color

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

Color preview

#540DEE

Color formats

HEX
#540DEE
RGB
rgb(84, 13, 238)
RGBA
rgba(84, 13, 238, 1)
HSL
hsl(259, 90%, 49%)
HSV
hsv(259, 95%, 93%)
CMYK
cmyk(65%, 95%, 0%, 7%)
CSS variable
--color-primary: #540DEE;
Lowercase HEX
#540dee

Shades

Tints

Tones

Harmony

CSS snippets for #540DEE

.color-540dee {
  color: #540DEE;
  background-color: #540DEE;
}

Frequently asked questions

What color is #540DEE?+

#540DEE is a HEX color with RGB value rgb(84, 13, 238) and HSL value hsl(259, 90%, 49%). Its closest CSS named color is BlueViolet.

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

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