#502E8F Color

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

Color preview

#502E8F

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #502E8F

.color-502e8f {
  color: #502E8F;
  background-color: #502E8F;
}

Frequently asked questions

What color is #502E8F?+

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

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

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