#540FAE Color

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

Color preview

#540FAE

Color formats

HEX
#540FAE
RGB
rgb(84, 15, 174)
RGBA
rgba(84, 15, 174, 1)
HSL
hsl(266, 84%, 37%)
HSV
hsv(266, 91%, 68%)
CMYK
cmyk(52%, 91%, 0%, 32%)
CSS variable
--color-primary: #540FAE;
Lowercase HEX
#540fae

Shades

Tints

Tones

Harmony

CSS snippets for #540FAE

.color-540fae {
  color: #540FAE;
  background-color: #540FAE;
}

Frequently asked questions

What color is #540FAE?+

#540FAE is a HEX color with RGB value rgb(84, 15, 174) and HSL value hsl(266, 84%, 37%). Its closest CSS named color is RebeccaPurple.

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

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