#502786 Color

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

Color preview

#502786

Color formats

HEX
#502786
RGB
rgb(80, 39, 134)
RGBA
rgba(80, 39, 134, 1)
HSL
hsl(266, 55%, 34%)
HSV
hsv(266, 71%, 53%)
CMYK
cmyk(40%, 71%, 0%, 47%)
CSS variable
--color-primary: #502786;
Lowercase HEX
#502786

Shades

Tints

Tones

Harmony

CSS snippets for #502786

.color-502786 {
  color: #502786;
  background-color: #502786;
}

Frequently asked questions

What color is #502786?+

#502786 is a HEX color with RGB value rgb(80, 39, 134) and HSL value hsl(266, 55%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #502786?+

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