#502B9A Color

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

Color preview

#502B9A

Color formats

HEX
#502B9A
RGB
rgb(80, 43, 154)
RGBA
rgba(80, 43, 154, 1)
HSL
hsl(260, 56%, 39%)
HSV
hsv(260, 72%, 60%)
CMYK
cmyk(48%, 72%, 0%, 40%)
CSS variable
--color-primary: #502B9A;
Lowercase HEX
#502b9a

Shades

Tints

Tones

Harmony

CSS snippets for #502B9A

.color-502b9a {
  color: #502B9A;
  background-color: #502B9A;
}

Frequently asked questions

What color is #502B9A?+

#502B9A is a HEX color with RGB value rgb(80, 43, 154) and HSL value hsl(260, 56%, 39%). Its closest CSS named color is RebeccaPurple.

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

The closest Tailwind color is violet-900, available as the bg-violet-900 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