#502E98 Color

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

Color preview

#502E98

Color formats

HEX
#502E98
RGB
rgb(80, 46, 152)
RGBA
rgba(80, 46, 152, 1)
HSL
hsl(259, 54%, 39%)
HSV
hsv(259, 70%, 60%)
CMYK
cmyk(47%, 70%, 0%, 40%)
CSS variable
--color-primary: #502E98;
Lowercase HEX
#502e98

Shades

Tints

Tones

Harmony

CSS snippets for #502E98

.color-502e98 {
  color: #502E98;
  background-color: #502E98;
}

Frequently asked questions

What color is #502E98?+

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

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

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