#A240D4 Color

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

Color preview

#A240D4

Color formats

HEX
#A240D4
RGB
rgb(162, 64, 212)
RGBA
rgba(162, 64, 212, 1)
HSL
hsl(280, 63%, 54%)
HSV
hsv(280, 70%, 83%)
CMYK
cmyk(24%, 70%, 0%, 17%)
CSS variable
--color-primary: #A240D4;
Lowercase HEX
#a240d4

Shades

Tints

Tones

Harmony

CSS snippets for #A240D4

.color-a240d4 {
  color: #A240D4;
  background-color: #A240D4;
}

Frequently asked questions

What color is #A240D4?+

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

What is the closest Tailwind color to #A240D4?+

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