#51236C Color

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

Color preview

#51236C

Color formats

HEX
#51236C
RGB
rgb(81, 35, 108)
RGBA
rgba(81, 35, 108, 1)
HSL
hsl(278, 51%, 28%)
HSV
hsv(278, 68%, 42%)
CMYK
cmyk(25%, 68%, 0%, 58%)
CSS variable
--color-primary: #51236C;
Lowercase HEX
#51236c

Shades

Tints

Tones

Harmony

CSS snippets for #51236C

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

Frequently asked questions

What color is #51236C?+

#51236C is a HEX color with RGB value rgb(81, 35, 108) and HSL value hsl(278, 51%, 28%). Its closest CSS named color is DarkSlateBlue.

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

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