#5312D3 Color

Inspect #5312D3 across formats, palettes, contrast and closest named color matches.

Color preview

#5312D3

Color formats

HEX
#5312D3
RGB
rgb(83, 18, 211)
RGBA
rgba(83, 18, 211, 1)
HSL
hsl(260, 84%, 45%)
HSV
hsv(260, 91%, 83%)
CMYK
cmyk(61%, 91%, 0%, 17%)
CSS variable
--color-primary: #5312D3;
Lowercase HEX
#5312d3

Shades

Tints

Tones

Harmony

CSS snippets for #5312D3

.color-5312d3 {
  color: #5312D3;
  background-color: #5312D3;
}

Frequently asked questions

What color is #5312D3?+

#5312D3 is a HEX color with RGB value rgb(83, 18, 211) and HSL value hsl(260, 84%, 45%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #5312D3?+

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