#502E8E Color

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

Color preview

#502E8E

Color formats

HEX
#502E8E
RGB
rgb(80, 46, 142)
RGBA
rgba(80, 46, 142, 1)
HSL
hsl(261, 51%, 37%)
HSV
hsv(261, 68%, 56%)
CMYK
cmyk(44%, 68%, 0%, 44%)
CSS variable
--color-primary: #502E8E;
Lowercase HEX
#502e8e

Shades

Tints

Tones

Harmony

CSS snippets for #502E8E

.color-502e8e {
  color: #502E8E;
  background-color: #502E8E;
}

Frequently asked questions

What color is #502E8E?+

#502E8E is a HEX color with RGB value rgb(80, 46, 142) and HSL value hsl(261, 51%, 37%). Its closest CSS named color is DarkSlateBlue.

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

The closest Tailwind color is violet-900, available as the bg-violet-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