#400D5E Color

Inspect #400D5E across formats, palettes, contrast and closest named color matches.

Color preview

#400D5E

Color formats

HEX
#400D5E
RGB
rgb(64, 13, 94)
RGBA
rgba(64, 13, 94, 1)
HSL
hsl(278, 76%, 21%)
HSV
hsv(278, 86%, 37%)
CMYK
cmyk(32%, 86%, 0%, 63%)
CSS variable
--color-primary: #400D5E;
Lowercase HEX
#400d5e

Shades

Tints

Tones

Harmony

CSS snippets for #400D5E

.color-400d5e {
  color: #400D5E;
  background-color: #400D5E;
}

Frequently asked questions

What color is #400D5E?+

#400D5E is a HEX color with RGB value rgb(64, 13, 94) and HSL value hsl(278, 76%, 21%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #400D5E?+

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