#A540A0 Color

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

Color preview

#A540A0

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #A540A0

.color-a540a0 {
  color: #A540A0;
  background-color: #A540A0;
}

Frequently asked questions

What color is #A540A0?+

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

What is the closest Tailwind color to #A540A0?+

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