#AA22AA color

#AA22AA is rgb(170, 34, 170) in RGB and hsl(300, 67%, 40%) in HSL. The closest CSS named color is darkorchid (#9932cc, ΔE 7). Use white text on it (contrast 5.97:1).

#AA22AAmagenta
HEX#AA22AA
Short HEX#A2A
RGBrgb(170, 34, 170)
RGB percentrgb(66.7%, 13.3%, 66.7%)
HSLhsl(300, 67%, 40%)
HSV / HSBhsv(300, 80%, 67%)
CMYKcmyk(0%, 80%, 0%, 33%)

Edit in the color converter → · Check contrast → · Shades →

About #AA22AA

#AA22AA is a medium-dark, saturated magenta with a hue angle of 300°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 170 (67%) and green the weakest at 34 (13%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#AA22AA
Short HEX#A2A
RGBrgb(170, 34, 170)
RGB percentrgb(66.7%, 13.3%, 66.7%)
HSLhsl(300, 67%, 40%)
HSV / HSBhsv(300, 80%, 67%)
CMYKcmyk(0%, 80%, 0%, 33%)
CIELAB (D65)lab(42.1 67.2 -42)
Decimal11149994
Binary10101010 00100010 10101010

HEX AA 22 AA → 170, 34, 170 (each pair is a base-16 number: A×16 + A = 170)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #AA22AA

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #AA22AARatioAA normalAA largeAAA normalAAA large
White text5.97:1PassPassFailPass
Black text3.52:1FailPassFailFail
White text on #AA22AA
Black text on #AA22AA
#AA22AA text on white
#AA22AA text on black

Relative luminance is 0.1259 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#0058ad

Deuteranopia
#4b69a7

Tritanopia
#b03a67

Achromatopsia
#636363

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 28.2). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
darkorchid#9932cc7
darkmagenta#8b008b8.2
darkviolet#9400d38.7
mediumvioletred#c7158510.5

Nearby colors

CSS

.element {
  color: #aa22aa;
  background-color: rgb(170, 34, 170);
  border: 1px solid hsl(300, 67%, 40%);
  box-shadow: 0 2px 8px rgb(170 34 170 / 50%);
}
:root { --brand: #aa22aa; }

Frequently asked questions

What color is #AA22AA?
A medium-dark saturated magenta in the pink & magenta family. Closest CSS name: darkorchid.
What is #AA22AA in RGB?
rgb(170, 34, 170): red 170, green 34, blue 170.
What is the complementary color of #AA22AA?
#22AA22, found by rotating the hue 180°.