#502766 Color

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

Color preview

#502766

Color formats

HEX
#502766
RGB
rgb(80, 39, 102)
RGBA
rgba(80, 39, 102, 1)
HSL
hsl(279, 45%, 28%)
HSV
hsv(279, 62%, 40%)
CMYK
cmyk(22%, 62%, 0%, 60%)
CSS variable
--color-primary: #502766;
Lowercase HEX
#502766

Shades

Tints

Tones

Harmony

CSS snippets for #502766

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

Frequently asked questions

What color is #502766?+

#502766 is a HEX color with RGB value rgb(80, 39, 102) and HSL value hsl(279, 45%, 28%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #502766?+

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