#54028A Color

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

Color preview

#54028A

Color formats

HEX
#54028A
RGB
rgb(84, 2, 138)
RGBA
rgba(84, 2, 138, 1)
HSL
hsl(276, 97%, 27%)
HSV
hsv(276, 99%, 54%)
CMYK
cmyk(39%, 99%, 0%, 46%)
CSS variable
--color-primary: #54028A;
Lowercase HEX
#54028a

Shades

Tints

Tones

Harmony

CSS snippets for #54028A

.color-54028a {
  color: #54028A;
  background-color: #54028A;
}

Frequently asked questions

What color is #54028A?+

#54028A is a HEX color with RGB value rgb(84, 2, 138) and HSL value hsl(276, 97%, 27%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #54028A?+

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