#A540A4 Color

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

Color preview

#A540A4

Color formats

HEX
#A540A4
RGB
rgb(165, 64, 164)
RGBA
rgba(165, 64, 164, 1)
HSL
hsl(301, 44%, 45%)
HSV
hsv(301, 61%, 65%)
CMYK
cmyk(0%, 61%, 1%, 35%)
CSS variable
--color-primary: #A540A4;
Lowercase HEX
#a540a4

Shades

Tints

Tones

Harmony

CSS snippets for #A540A4

.color-a540a4 {
  color: #A540A4;
  background-color: #A540A4;
}

Frequently asked questions

What color is #A540A4?+

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

What is the closest Tailwind color to #A540A4?+

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