#502E80 Color

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

Color preview

#502E80

Color formats

HEX
#502E80
RGB
rgb(80, 46, 128)
RGBA
rgba(80, 46, 128, 1)
HSL
hsl(265, 47%, 34%)
HSV
hsv(265, 64%, 50%)
CMYK
cmyk(38%, 64%, 0%, 50%)
CSS variable
--color-primary: #502E80;
Lowercase HEX
#502e80

Shades

Tints

Tones

Harmony

CSS snippets for #502E80

.color-502e80 {
  color: #502E80;
  background-color: #502E80;
}

Frequently asked questions

What color is #502E80?+

#502E80 is a HEX color with RGB value rgb(80, 46, 128) and HSL value hsl(265, 47%, 34%). Its closest CSS named color is DarkSlateBlue.

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

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