#A042DB Color

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

Color preview

#A042DB

Color formats

HEX
#A042DB
RGB
rgb(160, 66, 219)
RGBA
rgba(160, 66, 219, 1)
HSL
hsl(277, 68%, 56%)
HSV
hsv(277, 70%, 86%)
CMYK
cmyk(27%, 70%, 0%, 14%)
CSS variable
--color-primary: #A042DB;
Lowercase HEX
#a042db

Shades

Tints

Tones

Harmony

CSS snippets for #A042DB

.color-a042db {
  color: #A042DB;
  background-color: #A042DB;
}

Frequently asked questions

What color is #A042DB?+

#A042DB is a HEX color with RGB value rgb(160, 66, 219) and HSL value hsl(277, 68%, 56%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #A042DB?+

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