#AA31AB Color Information

Hex color code: #AA31AB

#AA31AB is a muted magenta color. In RGB it is (170, 49, 171), and in HSL it is (300°, 55%, 43%). It is typically applied in digital products.

Try:
Color NameDark Orchid
HEX
#AA31AB
RGB
170, 49, 171
HSL
300°, 55%, 43%
CMYK
1%, 71%, 0%, 33%

Shades

CSS Usage
color: #AA31AB;
background-color: #AA31AB;
border-color: #AA31AB;
box-shadow: 0 0 10px #AA31AB;
border: 2px solid #AA31AB;
Tailwind Usage
bg-[#AA31AB]
text-[#AA31AB]
border-[#AA31AB]
shadow-[0_0_10px_AA31AB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #AA31AB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #AA31AB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #AA31AB; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #AA31AB; background-color: #AA31AB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #AA31AB20; border-left: 4px solid #AA31AB; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #AA31AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #AA31AB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

170, 49, 171

Red: 170 / Green: 49 / Blue: 171

HSL

300°, 55%, 43%

Hue: 300° / Saturation: 55% / Lightness: 43%

CMYK

1%, 71%, 0%, 33%

Cyan: 1% / Magenta: 71% / Yellow: 0% / Key: 33%

What color is #AA31AB?

#AA31AB is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AA31AB to RGB:

rgb(170, 49, 171)HEX to RGB Converter →

HEX to HSL

Convert #AA31AB to HSL:

hsl(300, 55%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #AA31AB to CMYK:

cmyk(1%, 71%, 0%, 33%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #AA31AB has RGB (170, 49, 171) and HSL (300°, 55%, 43%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AA31AB is #31AA31, creating high-contrast pairings. For softer combinations, try analogous colors like #6E31AA.

Use #AA31AB in CSS: color: #AA31AB or background-color: #AA31AB. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #AA31AB

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 3.74:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AA31AB?

#AA31AB is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AA31AB?

#AA31AB in RGB is (170, 49, 171) - 170 red, 49 green, and 171 blue.

How to use #AA31AB in CSS?

Use #AA31AB directly in your CSS properties like color or background-color.

What colors go well with #AA31AB?

#31AA31 (complementary), #6E31AA (analogous), and #6F206F (lighter shade) work well with #AA31AB.