#540CED Color

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

Color preview

#540CED

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #540CED

.color-540ced {
  color: #540CED;
  background-color: #540CED;
}

Frequently asked questions

What color is #540CED?+

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

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

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