WordGPT

#5522AA color

#5522AA is a purple colour. It is rgb(85, 34, 170) in RGB and hsl(263, 67%, 40%) in HSL. Text in white reads better on it: the contrast is 9.56:1 against white and 2.20:1 against black.

#5522AA
#5522AA: #5522AA
Complementary#5522AA#77AA22Analogous#2233AA#5522AA#9922AATriadic#5522AA#AA5522#22AA55Tetradic (square)#5522AA#AA2233#77AA22#22AA99Split complementary#5522AA#AA9922#33AA22
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
0e061c1c0b392b1155391771471c8e5522aa7147b88e6cc6aa91d5c6b5e3e3daf1
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{#5522AA}:\quad R=\mathrm{55}_{16}=85,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{AA}_{16}=170
  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=263∘,S=67%,L=40%H=263^\circ,\quad S=67\%,\quad L=40\%
  3. 3

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

    263^\circ + 180^\circ = 83^\circ ;\Rightarrow; \mathrm{#77AA22}
  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=9.56:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 9.56:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#5522AA} = \mathrm{rgb}(85, 34, 170) \]
\[ \mathrm{#5522AA}:\quad R=\mathrm{55}_{16}=85,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{AA}_{16}=170 \]
\[ H=263^\circ,\quad S=67\%,\quad L=40\% \]
\[ 263^\circ + 180^\circ = 83^\circ ;\Rightarrow; \mathrm{#77AA22} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 9.56:1\ \text{(on white)} \]

#5522AA in every colour format

FormatValue
HEX#5522AA
RGBrgb(85, 34, 170)
RGB (percent)rgb(33.3%, 13.3%, 66.7%)
HSLhsl(263, 67%, 40%)
HSV / HSBhsv(263, 80%, 67%)
CMYKcmyk(50%, 80%, 0%, 33%)
Decimal5579434
Descriptionpurple

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text9.56:1passpasspasspass
Black text2.20:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#0E061C #1C0B39 #2B1155 #391771 #471C8E
This colour#5522AA
Tints (mixed with white)#7147B8 #8E6CC6 #AA91D5 #C6B5E3 #E3DAF1

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#0047AE29
Deuteranopia#0042A829
Tritanopia#39496667
Grayscale#454545-

Nearest named colours

NameHex
Indigo#4B0082
Dark blue#00008B
Navy#000080
Rebecca purple#663399

Questions

What is the RGB value of #5522AA?

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

What is the HSL value of #5522AA?

hsl(263, 67%, 40%): a hue of 263°, 67% saturation and 40% lightness.

What is the complementary colour of #5522AA?

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

Should I use white or black text on #5522AA?

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

What is the CMYK value of #5522AA?

cmyk(50%, 80%, 0%, 33%). This is a simple formula conversion; printed colours depend on the printer profile.

What is the closest named colour to #5522AA?

Indigo (#4B0082).

Matching colours

A little darker, a little lighter

Make a palette

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