#52408C Color

Inspect #52408C across formats, palettes, contrast and closest named color matches.

Color preview

#52408C

Color formats

HEX
#52408C
RGB
rgb(82, 64, 140)
RGBA
rgba(82, 64, 140, 1)
HSL
hsl(254, 37%, 40%)
HSV
hsv(254, 54%, 55%)
CMYK
cmyk(41%, 54%, 0%, 45%)
CSS variable
--color-primary: #52408C;
Lowercase HEX
#52408c

Shades

Tints

Tones

Harmony

CSS snippets for #52408C

.color-52408c {
  color: #52408C;
  background-color: #52408C;
}

Frequently asked questions

What color is #52408C?+

#52408C is a HEX color with RGB value rgb(82, 64, 140) and HSL value hsl(254, 37%, 40%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #52408C?+

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