#AF31AD Color

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

Color preview

#AF31AD

Color formats

HEX
#AF31AD
RGB
rgb(175, 49, 173)
RGBA
rgba(175, 49, 173, 1)
HSL
hsl(301, 56%, 44%)
HSV
hsv(301, 72%, 69%)
CMYK
cmyk(0%, 72%, 1%, 31%)
CSS variable
--color-primary: #AF31AD;
Lowercase HEX
#af31ad

Shades

Tints

Tones

Harmony

CSS snippets for #AF31AD

.color-af31ad {
  color: #AF31AD;
  background-color: #AF31AD;
}

Frequently asked questions

What color is #AF31AD?+

#AF31AD is a HEX color with RGB value rgb(175, 49, 173) and HSL value hsl(301, 56%, 44%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #AF31AD?+

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