#502CB5 Color

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

Color preview

#502CB5

Color formats

HEX
#502CB5
RGB
rgb(80, 44, 181)
RGBA
rgba(80, 44, 181, 1)
HSL
hsl(256, 61%, 44%)
HSV
hsv(256, 76%, 71%)
CMYK
cmyk(56%, 76%, 0%, 29%)
CSS variable
--color-primary: #502CB5;
Lowercase HEX
#502cb5

Shades

Tints

Tones

Harmony

CSS snippets for #502CB5

.color-502cb5 {
  color: #502CB5;
  background-color: #502CB5;
}

Frequently asked questions

What color is #502CB5?+

#502CB5 is a HEX color with RGB value rgb(80, 44, 181) and HSL value hsl(256, 61%, 44%). Its closest CSS named color is RebeccaPurple.

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

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