#5310D1 Color

Inspect #5310D1 across formats, palettes, contrast and closest named color matches.

Color preview

#5310D1

Color formats

HEX
#5310D1
RGB
rgb(83, 16, 209)
RGBA
rgba(83, 16, 209, 1)
HSL
hsl(261, 86%, 44%)
HSV
hsv(261, 92%, 82%)
CMYK
cmyk(60%, 92%, 0%, 18%)
CSS variable
--color-primary: #5310D1;
Lowercase HEX
#5310d1

Shades

Tints

Tones

Harmony

CSS snippets for #5310D1

.color-5310d1 {
  color: #5310D1;
  background-color: #5310D1;
}

Frequently asked questions

What color is #5310D1?+

#5310D1 is a HEX color with RGB value rgb(83, 16, 209) and HSL value hsl(261, 86%, 44%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #5310D1?+

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