#502866 Color

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

Color preview

#502866

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #502866

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

Frequently asked questions

What color is #502866?+

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

What is the closest Tailwind color to #502866?+

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