#A040D4 Color

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

Color preview

#A040D4

Color formats

HEX
#A040D4
RGB
rgb(160, 64, 212)
RGBA
rgba(160, 64, 212, 1)
HSL
hsl(279, 63%, 54%)
HSV
hsv(279, 70%, 83%)
CMYK
cmyk(25%, 70%, 0%, 17%)
CSS variable
--color-primary: #A040D4;
Lowercase HEX
#a040d4

Shades

Tints

Tones

Harmony

CSS snippets for #A040D4

.color-a040d4 {
  color: #A040D4;
  background-color: #A040D4;
}

Frequently asked questions

What color is #A040D4?+

#A040D4 is a HEX color with RGB value rgb(160, 64, 212) and HSL value hsl(279, 63%, 54%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #A040D4?+

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