#502F98 Color

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

Color preview

#502F98

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #502F98

.color-502f98 {
  color: #502F98;
  background-color: #502F98;
}

Frequently asked questions

What color is #502F98?+

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

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

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