#400488 Color

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

Color preview

#400488

Color formats

HEX
#400488
RGB
rgb(64, 4, 136)
RGBA
rgba(64, 4, 136, 1)
HSL
hsl(267, 94%, 27%)
HSV
hsv(267, 97%, 53%)
CMYK
cmyk(53%, 97%, 0%, 47%)
CSS variable
--color-primary: #400488;
Lowercase HEX
#400488

Shades

Tints

Tones

Harmony

CSS snippets for #400488

.color-400488 {
  color: #400488;
  background-color: #400488;
}

Frequently asked questions

What color is #400488?+

#400488 is a HEX color with RGB value rgb(64, 4, 136) and HSL value hsl(267, 94%, 27%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #400488?+

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