#51028A Color

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

Color preview

#51028A

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #51028A

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

Frequently asked questions

What color is #51028A?+

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

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

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