#51226A Color

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

Color preview

#51226A

Color formats

HEX
#51226A
RGB
rgb(81, 34, 106)
RGBA
rgba(81, 34, 106, 1)
HSL
hsl(279, 51%, 27%)
HSV
hsv(279, 68%, 42%)
CMYK
cmyk(24%, 68%, 0%, 58%)
CSS variable
--color-primary: #51226A;
Lowercase HEX
#51226a

Shades

Tints

Tones

Harmony

CSS snippets for #51226A

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

Frequently asked questions

What color is #51226A?+

#51226A is a HEX color with RGB value rgb(81, 34, 106) and HSL value hsl(279, 51%, 27%). Its closest CSS named color is Indigo.

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

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