#AA22DD color

#AA22DD is rgb(170, 34, 221) in RGB and hsl(284, 73%, 50%) in HSL. The closest CSS named color is darkorchid (#9932cc, ΔE 3.2). Use white text on it (contrast 5.27:1).

#AA22DDmagenta
HEX#AA22DD
Short HEX#A2D
RGBrgb(170, 34, 221)
RGB percentrgb(66.7%, 13.3%, 86.7%)
HSLhsl(284, 73%, 50%)
HSV / HSBhsv(284, 85%, 87%)
CMYKcmyk(23%, 85%, 0%, 13%)

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

About #AA22DD

#AA22DD is a medium, saturated magenta with a hue angle of 284°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 221 (87%) and green the weakest at 34 (13%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#AA22DD
Short HEX#A2D
RGBrgb(170, 34, 221)
RGB percentrgb(66.7%, 13.3%, 86.7%)
HSLhsl(284, 73%, 50%)
HSV / HSBhsv(284, 85%, 87%)
CMYKcmyk(23%, 85%, 0%, 13%)
CIELAB (D65)lab(45.5 76 -66.3)
Decimal11150045
Binary10101010 00100010 11011101

HEX AA 22 DD → 170, 34, 221 (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 #AA22DD

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #AA22DDRatioAA normalAA largeAAA normalAAA large
White text5.27:1PassPassFailPass
Black text3.98:1FailPassFailFail
White text on #AA22DD
Black text on #AA22DD
#AA22DD text on white
#AA22DD text on black

Relative luminance is 0.1491 (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
#0065e2

Deuteranopia
#006fd9

Tritanopia
#a55585

Achromatopsia
#6c6c6c

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 29). 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#9932cc3.2
blueviolet#8a2be25.4
darkviolet#9400d35.6
mediumorchid#ba55d39.7

Nearby colors

CSS

.element {
  color: #aa22dd;
  background-color: rgb(170, 34, 221);
  border: 1px solid hsl(284, 73%, 50%);
  box-shadow: 0 2px 8px rgb(170 34 221 / 50%);
}
:root { --brand: #aa22dd; }

Frequently asked questions

What color is #AA22DD?
A medium saturated magenta in the purple family. Closest CSS name: darkorchid.
What is #AA22DD in RGB?
rgb(170, 34, 221): red 170, green 34, blue 221.
What is the complementary color of #AA22DD?
#55DD22, found by rotating the hue 180°.