#511BDA Color

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

Color preview

#511BDA

Color formats

HEX
#511BDA
RGB
rgb(81, 27, 218)
RGBA
rgba(81, 27, 218, 1)
HSL
hsl(257, 78%, 48%)
HSV
hsv(257, 88%, 85%)
CMYK
cmyk(63%, 88%, 0%, 15%)
CSS variable
--color-primary: #511BDA;
Lowercase HEX
#511bda

Shades

Tints

Tones

Harmony

CSS snippets for #511BDA

.color-511bda {
  color: #511BDA;
  background-color: #511BDA;
}

Frequently asked questions

What color is #511BDA?+

#511BDA is a HEX color with RGB value rgb(81, 27, 218) and HSL value hsl(257, 78%, 48%). Its closest CSS named color is BlueViolet.

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

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