#502F99 Color

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

Color preview

#502F99

Color formats

HEX
#502F99
RGB
rgb(80, 47, 153)
RGBA
rgba(80, 47, 153, 1)
HSL
hsl(259, 53%, 39%)
HSV
hsv(259, 69%, 60%)
CMYK
cmyk(48%, 69%, 0%, 40%)
CSS variable
--color-primary: #502F99;
Lowercase HEX
#502f99

Shades

Tints

Tones

Harmony

CSS snippets for #502F99

.color-502f99 {
  color: #502F99;
  background-color: #502F99;
}

Frequently asked questions

What color is #502F99?+

#502F99 is a HEX color with RGB value rgb(80, 47, 153) and HSL value hsl(259, 53%, 39%). Its closest CSS named color is DarkSlateBlue.

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

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