WordGPT

#AA22DD color

#AA22DD is a purple colour. It is rgb(170, 34, 221) in RGB and hsl(284, 73%, 50%) in HSL. Text in white reads better on it: the contrast is 5.27:1 against white and 3.98:1 against black.

#AA22DD
#AA22DD: #AA22DD
Complementary#AA22DD#55DD22Analogous#4D22DD#AA22DD#DD22B2Triadic#AA22DD#DDAA22#22DDAATetradic (square)#AA22DD#DD4C22#55DD22#22B3DDSplit complementary#AA22DD#B3DD22#22DD4C
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
1c0625390b4a55116f7117938e1cb8aa22ddb847e3c66ce8d591eee3b5f4f1daf9
From dark shades (left, mixed with black) to light tints (right, mixed with white)

How to work it out

  1. 1

    A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).

    \mathrm{#AA22DD}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{DD}_{16}=221
  2. 2

    HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.

    H=284∘,S=73%,L=50%H=284^\circ,\quad S=73\%,\quad L=50\%
  3. 3

    The complementary colour sits opposite on the wheel: add 180° to the hue.

    284^\circ + 180^\circ = 104^\circ ;\Rightarrow; \mathrm{#55DD22}
  4. 4

    Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).

    contrast=L1+0.05L2+0.05=5.27:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.27:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#AA22DD} = \mathrm{rgb}(170, 34, 221) \]
\[ \mathrm{#AA22DD}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{DD}_{16}=221 \]
\[ H=284^\circ,\quad S=73\%,\quad L=50\% \]
\[ 284^\circ + 180^\circ = 104^\circ ;\Rightarrow; \mathrm{#55DD22} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.27:1\ \text{(on white)} \]

#AA22DD in every colour format

FormatValue
HEX#AA22DD
RGBrgb(170, 34, 221)
RGB (percent)rgb(66.7%, 13.3%, 86.7%)
HSLhsl(284, 73%, 50%)
HSV / HSBhsv(284, 85%, 87%)
CMYKcmyk(23%, 85%, 0%, 13%)
Decimal11150045
Descriptionpurple

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text5.27:1passpassfailpass
Black text3.98:1failpassfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#1C0625 #390B4A #55116F #711793 #8E1CB8
This colour#AA22DD
Tints (mixed with white)#B847E3 #C66CE8 #D591EE #E3B5F4 #F1DAF9

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#0065E252
Deuteranopia#006FD961
Tritanopia#A5558566
Grayscale#6C6C6C-

Nearest named colours

NameHex
Dark violet#9400D3
Blue violet#8A2BE2
Dark orchid#9932CC
Medium orchid#BA55D3

Questions

What is the RGB value of #AA22DD?

rgb(170, 34, 221): red 170, green 34, blue 221.

What is the HSL value of #AA22DD?

hsl(284, 73%, 50%): a hue of 284°, 73% saturation and 50% lightness.

What is the complementary colour of #AA22DD?

#55DD22, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #55DD22.

Should I use white or black text on #AA22DD?

White. White gives 5.27:1 and black 3.98:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #AA22DD?

cmyk(23%, 85%, 0%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.

What is the closest named colour to #AA22DD?

Dark violet (#9400D3).

Matching colours

A little darker, a little lighter

Make a palette

    #AA22DD color: RGB, HSL, CMYK, shades and matching palettes | WordGPT