#4A31A5 Color

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

Color preview

#4A31A5

Color formats

HEX
#4A31A5
RGB
rgb(74, 49, 165)
RGBA
rgba(74, 49, 165, 1)
HSL
hsl(253, 54%, 42%)
HSV
hsv(253, 70%, 65%)
CMYK
cmyk(55%, 70%, 0%, 35%)
CSS variable
--color-primary: #4A31A5;
Lowercase HEX
#4a31a5

Shades

Tints

Tones

Harmony

CSS snippets for #4A31A5

.color-4a31a5 {
  color: #4A31A5;
  background-color: #4A31A5;
}

Frequently asked questions

What color is #4A31A5?+

#4A31A5 is a HEX color with RGB value rgb(74, 49, 165) and HSL value hsl(253, 54%, 42%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #4A31A5?+

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