#400F80 Color

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

Color preview

#400F80

Color formats

HEX
#400F80
RGB
rgb(64, 15, 128)
RGBA
rgba(64, 15, 128, 1)
HSL
hsl(266, 79%, 28%)
HSV
hsv(266, 88%, 50%)
CMYK
cmyk(50%, 88%, 0%, 50%)
CSS variable
--color-primary: #400F80;
Lowercase HEX
#400f80

Shades

Tints

Tones

Harmony

CSS snippets for #400F80

.color-400f80 {
  color: #400F80;
  background-color: #400F80;
}

Frequently asked questions

What color is #400F80?+

#400F80 is a HEX color with RGB value rgb(64, 15, 128) and HSL value hsl(266, 79%, 28%). Its closest CSS named color is Indigo.

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

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