#540887 Color

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

Color preview

#540887

Color formats

HEX
#540887
RGB
rgb(84, 8, 135)
RGBA
rgba(84, 8, 135, 1)
HSL
hsl(276, 89%, 28%)
HSV
hsv(276, 94%, 53%)
CMYK
cmyk(38%, 94%, 0%, 47%)
CSS variable
--color-primary: #540887;
Lowercase HEX
#540887

Shades

Tints

Tones

Harmony

CSS snippets for #540887

.color-540887 {
  color: #540887;
  background-color: #540887;
}

Frequently asked questions

What color is #540887?+

#540887 is a HEX color with RGB value rgb(84, 8, 135) and HSL value hsl(276, 89%, 28%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #540887?+

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