#51228C Color

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

Color preview

#51228C

Color formats

HEX
#51228C
RGB
rgb(81, 34, 140)
RGBA
rgba(81, 34, 140, 1)
HSL
hsl(267, 61%, 34%)
HSV
hsv(267, 76%, 55%)
CMYK
cmyk(42%, 76%, 0%, 45%)
CSS variable
--color-primary: #51228C;
Lowercase HEX
#51228c

Shades

Tints

Tones

Harmony

CSS snippets for #51228C

.color-51228c {
  color: #51228C;
  background-color: #51228C;
}

Frequently asked questions

What color is #51228C?+

#51228C is a HEX color with RGB value rgb(81, 34, 140) and HSL value hsl(267, 61%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #51228C?+

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