#400495 Color

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

Color preview

#400495

Color formats

HEX
#400495
RGB
rgb(64, 4, 149)
RGBA
rgba(64, 4, 149, 1)
HSL
hsl(265, 95%, 30%)
HSV
hsv(265, 97%, 58%)
CMYK
cmyk(57%, 97%, 0%, 42%)
CSS variable
--color-primary: #400495;
Lowercase HEX
#400495

Shades

Tints

Tones

Harmony

CSS snippets for #400495

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

Frequently asked questions

What color is #400495?+

#400495 is a HEX color with RGB value rgb(64, 4, 149) and HSL value hsl(265, 95%, 30%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #400495?+

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