#512CF6 Color

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

Color preview

#512CF6

Color formats

HEX
#512CF6
RGB
rgb(81, 44, 246)
RGBA
rgba(81, 44, 246, 1)
HSL
hsl(251, 92%, 57%)
HSV
hsv(251, 82%, 96%)
CMYK
cmyk(67%, 82%, 0%, 4%)
CSS variable
--color-primary: #512CF6;
Lowercase HEX
#512cf6

Shades

Tints

Tones

Harmony

CSS snippets for #512CF6

.color-512cf6 {
  color: #512CF6;
  background-color: #512CF6;
}

Frequently asked questions

What color is #512CF6?+

#512CF6 is a HEX color with RGB value rgb(81, 44, 246) and HSL value hsl(251, 92%, 57%). Its closest CSS named color is BlueViolet.

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

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