WordGPT

#220044 color

#220044 is a very dark purple colour. It is rgb(34, 0, 68) in RGB and hsl(270, 100%, 13%) in HSL. Text in white reads better on it: the contrast is 18.24:1 against white and 1.15:1 against black.

#220044
#220044: #220044
Complementary#220044#224400Analogous#000044#220044#440044Triadic#220044#442200#004422Tetradic (square)#220044#440000#224400#004444Split complementary#220044#444400#004400
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
06000b0b001711002217002d1c0039220044472b636c55829180a2b5aac1dad5e0
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{#220044}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{44}_{16}=68
  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=270∘,S=100%,L=13%H=270^\circ,\quad S=100\%,\quad L=13\%
  3. 3

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

    270^\circ + 180^\circ = 90^\circ ;\Rightarrow; \mathrm{#224400}
  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=18.24:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 18.24:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#220044} = \mathrm{rgb}(34, 0, 68) \]
\[ \mathrm{#220044}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{44}_{16}=68 \]
\[ H=270^\circ,\quad S=100\%,\quad L=13\% \]
\[ 270^\circ + 180^\circ = 90^\circ ;\Rightarrow; \mathrm{#224400} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 18.24:1\ \text{(on white)} \]

#220044 in every colour format

FormatValue
HEX#220044
RGBrgb(34, 0, 68)
RGB (percent)rgb(13.3%, 0.0%, 26.7%)
HSLhsl(270, 100%, 13%)
HSV / HSBhsv(270, 100%, 27%)
CMYKcmyk(50%, 100%, 0%, 73%)
Decimal2228292
Descriptionvery dark purple

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text18.24:1passpasspasspass
Black text1.15:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#06000B #0B0017 #110022 #17002D #1C0039
This colour#220044
Tints (mixed with white)#472B63 #6C5582 #9180A2 #B5AAC1 #DAD5E0

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#00154618
Deuteranopia#00144319
Tritanopia#19152436
Grayscale#151515-

Nearest named colours

NameHex
Midnight blue#191970
Dark slate blue#483D8B
Indigo#4B0082
Rebecca purple#663399

Questions

What is the RGB value of #220044?

rgb(34, 0, 68): red 34, green 0, blue 68.

What is the HSL value of #220044?

hsl(270, 100%, 13%): a hue of 270°, 100% saturation and 13% lightness.

What is the complementary colour of #220044?

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

Should I use white or black text on #220044?

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

What is the CMYK value of #220044?

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

What is the closest named colour to #220044?

Midnight blue (#191970).

Matching colours

A little darker, a little lighter

Make a palette

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