#A040A5 Color

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

Color preview

#A040A5

Color formats

HEX
#A040A5
RGB
rgb(160, 64, 165)
RGBA
rgba(160, 64, 165, 1)
HSL
hsl(297, 44%, 45%)
HSV
hsv(297, 61%, 65%)
CMYK
cmyk(3%, 61%, 0%, 35%)
CSS variable
--color-primary: #A040A5;
Lowercase HEX
#a040a5

Shades

Tints

Tones

Harmony

CSS snippets for #A040A5

.color-a040a5 {
  color: #A040A5;
  background-color: #A040A5;
}

Frequently asked questions

What color is #A040A5?+

#A040A5 is a HEX color with RGB value rgb(160, 64, 165) and HSL value hsl(297, 44%, 45%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #A040A5?+

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