#401FAD Color

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

Color preview

#401FAD

Color formats

HEX
#401FAD
RGB
rgb(64, 31, 173)
RGBA
rgba(64, 31, 173, 1)
HSL
hsl(254, 70%, 40%)
HSV
hsv(254, 82%, 68%)
CMYK
cmyk(63%, 82%, 0%, 32%)
CSS variable
--color-primary: #401FAD;
Lowercase HEX
#401fad

Shades

Tints

Tones

Harmony

CSS snippets for #401FAD

.color-401fad {
  color: #401FAD;
  background-color: #401FAD;
}

Frequently asked questions

What color is #401FAD?+

#401FAD is a HEX color with RGB value rgb(64, 31, 173) and HSL value hsl(254, 70%, 40%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #401FAD?+

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