#54198F Color

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

Color preview

#54198F

Color formats

HEX
#54198F
RGB
rgb(84, 25, 143)
RGBA
rgba(84, 25, 143, 1)
HSL
hsl(270, 70%, 33%)
HSV
hsv(270, 83%, 56%)
CMYK
cmyk(41%, 83%, 0%, 44%)
CSS variable
--color-primary: #54198F;
Lowercase HEX
#54198f

Shades

Tints

Tones

Harmony

CSS snippets for #54198F

.color-54198f {
  color: #54198F;
  background-color: #54198F;
}

Frequently asked questions

What color is #54198F?+

#54198F is a HEX color with RGB value rgb(84, 25, 143) and HSL value hsl(270, 70%, 33%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #54198F?+

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