#400D80 Color

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

Color preview

#400D80

Color formats

HEX
#400D80
RGB
rgb(64, 13, 128)
RGBA
rgba(64, 13, 128, 1)
HSL
hsl(267, 82%, 28%)
HSV
hsv(267, 90%, 50%)
CMYK
cmyk(50%, 90%, 0%, 50%)
CSS variable
--color-primary: #400D80;
Lowercase HEX
#400d80

Shades

Tints

Tones

Harmony

CSS snippets for #400D80

.color-400d80 {
  color: #400D80;
  background-color: #400D80;
}

Frequently asked questions

What color is #400D80?+

#400D80 is a HEX color with RGB value rgb(64, 13, 128) and HSL value hsl(267, 82%, 28%). Its closest CSS named color is Indigo.

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

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