#502FB1 Color

Inspect #502FB1 across formats, palettes, contrast and closest named color matches.

Color preview

#502FB1

Color formats

HEX
#502FB1
RGB
rgb(80, 47, 177)
RGBA
rgba(80, 47, 177, 1)
HSL
hsl(255, 58%, 44%)
HSV
hsv(255, 73%, 69%)
CMYK
cmyk(55%, 73%, 0%, 31%)
CSS variable
--color-primary: #502FB1;
Lowercase HEX
#502fb1

Shades

Tints

Tones

Harmony

CSS snippets for #502FB1

.color-502fb1 {
  color: #502FB1;
  background-color: #502FB1;
}

Frequently asked questions

What color is #502FB1?+

#502FB1 is a HEX color with RGB value rgb(80, 47, 177) and HSL value hsl(255, 58%, 44%). Its closest CSS named color is RebeccaPurple.

What is the closest Tailwind color to #502FB1?+

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