#504D9D Color

Inspect #504D9D across formats, palettes, contrast and closest named color matches.

Color preview

#504D9D

Color formats

HEX
#504D9D
RGB
rgb(80, 77, 157)
RGBA
rgba(80, 77, 157, 1)
HSL
hsl(242, 34%, 46%)
HSV
hsv(242, 51%, 62%)
CMYK
cmyk(49%, 51%, 0%, 38%)
CSS variable
--color-primary: #504D9D;
Lowercase HEX
#504d9d

Shades

Tints

Tones

Harmony

CSS snippets for #504D9D

.color-504d9d {
  color: #504D9D;
  background-color: #504D9D;
}

Frequently asked questions

What color is #504D9D?+

#504D9D is a HEX color with RGB value rgb(80, 77, 157) and HSL value hsl(242, 34%, 46%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #504D9D?+

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