#512E9E Color

Inspect #512E9E across formats, palettes, contrast and closest named color matches.

Color preview

#512E9E

Color formats

HEX
#512E9E
RGB
rgb(81, 46, 158)
RGBA
rgba(81, 46, 158, 1)
HSL
hsl(259, 55%, 40%)
HSV
hsv(259, 71%, 62%)
CMYK
cmyk(49%, 71%, 0%, 38%)
CSS variable
--color-primary: #512E9E;
Lowercase HEX
#512e9e

Shades

Tints

Tones

Harmony

CSS snippets for #512E9E

.color-512e9e {
  color: #512E9E;
  background-color: #512E9E;
}

Frequently asked questions

What color is #512E9E?+

#512E9E is a HEX color with RGB value rgb(81, 46, 158) and HSL value hsl(259, 55%, 40%). Its closest CSS named color is RebeccaPurple.

What is the closest Tailwind color to #512E9E?+

The closest Tailwind color is violet-900, available as the bg-violet-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