#502FA6 Color

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

Color preview

#502FA6

Color formats

HEX
#502FA6
RGB
rgb(80, 47, 166)
RGBA
rgba(80, 47, 166, 1)
HSL
hsl(257, 56%, 42%)
HSV
hsv(257, 72%, 65%)
CMYK
cmyk(52%, 72%, 0%, 35%)
CSS variable
--color-primary: #502FA6;
Lowercase HEX
#502fa6

Shades

Tints

Tones

Harmony

CSS snippets for #502FA6

.color-502fa6 {
  color: #502FA6;
  background-color: #502FA6;
}

Frequently asked questions

What color is #502FA6?+

#502FA6 is a HEX color with RGB value rgb(80, 47, 166) and HSL value hsl(257, 56%, 42%). Its closest CSS named color is RebeccaPurple.

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

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