#511DE2 Color

Inspect #511DE2 across formats, palettes, contrast and closest named color matches.

Color preview

#511DE2

Color formats

HEX
#511DE2
RGB
rgb(81, 29, 226)
RGBA
rgba(81, 29, 226, 1)
HSL
hsl(256, 77%, 50%)
HSV
hsv(256, 87%, 89%)
CMYK
cmyk(64%, 87%, 0%, 11%)
CSS variable
--color-primary: #511DE2;
Lowercase HEX
#511de2

Shades

Tints

Tones

Harmony

CSS snippets for #511DE2

.color-511de2 {
  color: #511DE2;
  background-color: #511DE2;
}

Frequently asked questions

What color is #511DE2?+

#511DE2 is a HEX color with RGB value rgb(81, 29, 226) and HSL value hsl(256, 77%, 50%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #511DE2?+

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