#540E9F Color

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

Color preview

#540E9F

Color formats

HEX
#540E9F
RGB
rgb(84, 14, 159)
RGBA
rgba(84, 14, 159, 1)
HSL
hsl(269, 84%, 34%)
HSV
hsv(269, 91%, 62%)
CMYK
cmyk(47%, 91%, 0%, 38%)
CSS variable
--color-primary: #540E9F;
Lowercase HEX
#540e9f

Shades

Tints

Tones

Harmony

CSS snippets for #540E9F

.color-540e9f {
  color: #540E9F;
  background-color: #540E9F;
}

Frequently asked questions

What color is #540E9F?+

#540E9F is a HEX color with RGB value rgb(84, 14, 159) and HSL value hsl(269, 84%, 34%). Its closest CSS named color is Indigo.

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

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