#502F7F Color

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

Color preview

#502F7F

Color formats

HEX
#502F7F
RGB
rgb(80, 47, 127)
RGBA
rgba(80, 47, 127, 1)
HSL
hsl(265, 46%, 34%)
HSV
hsv(265, 63%, 50%)
CMYK
cmyk(37%, 63%, 0%, 50%)
CSS variable
--color-primary: #502F7F;
Lowercase HEX
#502f7f

Shades

Tints

Tones

Harmony

CSS snippets for #502F7F

.color-502f7f {
  color: #502F7F;
  background-color: #502F7F;
}

Frequently asked questions

What color is #502F7F?+

#502F7F is a HEX color with RGB value rgb(80, 47, 127) and HSL value hsl(265, 46%, 34%). Its closest CSS named color is DarkSlateBlue.

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

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