#502787 Color

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

Color preview

#502787

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #502787

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

Frequently asked questions

What color is #502787?+

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

What is the closest Tailwind color to #502787?+

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