#502588 Color

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

Color preview

#502588

Color formats

HEX
#502588
RGB
rgb(80, 37, 136)
RGBA
rgba(80, 37, 136, 1)
HSL
hsl(266, 57%, 34%)
HSV
hsv(266, 73%, 53%)
CMYK
cmyk(41%, 73%, 0%, 47%)
CSS variable
--color-primary: #502588;
Lowercase HEX
#502588

Shades

Tints

Tones

Harmony

CSS snippets for #502588

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

Frequently asked questions

What color is #502588?+

#502588 is a HEX color with RGB value rgb(80, 37, 136) and HSL value hsl(266, 57%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #502588?+

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