#5227AF Color

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

Color preview

#5227AF

Color formats

HEX
#5227AF
RGB
rgb(82, 39, 175)
RGBA
rgba(82, 39, 175, 1)
HSL
hsl(259, 64%, 42%)
HSV
hsv(259, 78%, 69%)
CMYK
cmyk(53%, 78%, 0%, 31%)
CSS variable
--color-primary: #5227AF;
Lowercase HEX
#5227af

Shades

Tints

Tones

Harmony

CSS snippets for #5227AF

.color-5227af {
  color: #5227AF;
  background-color: #5227AF;
}

Frequently asked questions

What color is #5227AF?+

#5227AF is a HEX color with RGB value rgb(82, 39, 175) and HSL value hsl(259, 64%, 42%). Its closest CSS named color is RebeccaPurple.

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

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