#5A509F Color

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

Color preview

#5A509F

Color formats

HEX
#5A509F
RGB
rgb(90, 80, 159)
RGBA
rgba(90, 80, 159, 1)
HSL
hsl(248, 33%, 47%)
HSV
hsv(248, 50%, 62%)
CMYK
cmyk(43%, 50%, 0%, 38%)
CSS variable
--color-primary: #5A509F;
Lowercase HEX
#5a509f

Shades

Tints

Tones

Harmony

CSS snippets for #5A509F

.color-5a509f {
  color: #5A509F;
  background-color: #5A509F;
}

Frequently asked questions

What color is #5A509F?+

#5A509F is a HEX color with RGB value rgb(90, 80, 159) and HSL value hsl(248, 33%, 47%). Its closest CSS named color is RebeccaPurple.

What is the closest Tailwind color to #5A509F?+

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