#5227DF Color

Inspect #5227DF across formats, palettes, contrast and closest named color matches.

Color preview

#5227DF

Color formats

HEX
#5227DF
RGB
rgb(82, 39, 223)
RGBA
rgba(82, 39, 223, 1)
HSL
hsl(254, 74%, 51%)
HSV
hsv(254, 83%, 87%)
CMYK
cmyk(63%, 83%, 0%, 13%)
CSS variable
--color-primary: #5227DF;
Lowercase HEX
#5227df

Shades

Tints

Tones

Harmony

CSS snippets for #5227DF

.color-5227df {
  color: #5227DF;
  background-color: #5227DF;
}

Frequently asked questions

What color is #5227DF?+

#5227DF is a HEX color with RGB value rgb(82, 39, 223) and HSL value hsl(254, 74%, 51%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #5227DF?+

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