#511DD5 Color

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

Color preview

#511DD5

Color formats

HEX
#511DD5
RGB
rgb(81, 29, 213)
RGBA
rgba(81, 29, 213, 1)
HSL
hsl(257, 76%, 47%)
HSV
hsv(257, 86%, 84%)
CMYK
cmyk(62%, 86%, 0%, 16%)
CSS variable
--color-primary: #511DD5;
Lowercase HEX
#511dd5

Shades

Tints

Tones

Harmony

CSS snippets for #511DD5

.color-511dd5 {
  color: #511DD5;
  background-color: #511DD5;
}

Frequently asked questions

What color is #511DD5?+

#511DD5 is a HEX color with RGB value rgb(81, 29, 213) and HSL value hsl(257, 76%, 47%). Its closest CSS named color is BlueViolet.

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

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