#4D408C Color

Inspect #4D408C across formats, palettes, contrast and closest named color matches.

Color preview

#4D408C

Color formats

HEX
#4D408C
RGB
rgb(77, 64, 140)
RGBA
rgba(77, 64, 140, 1)
HSL
hsl(250, 37%, 40%)
HSV
hsv(250, 54%, 55%)
CMYK
cmyk(45%, 54%, 0%, 45%)
CSS variable
--color-primary: #4D408C;
Lowercase HEX
#4d408c

Shades

Tints

Tones

Harmony

CSS snippets for #4D408C

.color-4d408c {
  color: #4D408C;
  background-color: #4D408C;
}

Frequently asked questions

What color is #4D408C?+

#4D408C is a HEX color with RGB value rgb(77, 64, 140) and HSL value hsl(250, 37%, 40%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #4D408C?+

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