WordGPT

#220088 color

#220088 is a dark purple colour. It is rgb(34, 0, 136) in RGB and hsl(255, 100%, 27%) in HSL. Text in white reads better on it: the contrast is 14.75:1 against white and 1.42:1 against black.

#220088
#220088: #220088
Complementary#220088#668800Analogous#002288#220088#660088Triadic#220088#882200#008822Tetradic (square)#220088#880022#668800#008866Split complementary#220088#886600#228800
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
0600170b002d11004417005b1c0071220088472b9c6c55b09180c4b5aad7dad5eb
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{#220088}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{88}_{16}=136
  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=255∘,S=100%,L=27%H=255^\circ,\quad S=100\%,\quad L=27\%
  3. 3

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

    255^\circ + 180^\circ = 75^\circ ;\Rightarrow; \mathrm{#668800}
  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=14.75:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 14.75:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#220088} = \mathrm{rgb}(34, 0, 136) \]
\[ \mathrm{#220088}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{88}_{16}=136 \]
\[ H=255^\circ,\quad S=100\%,\quad L=27\% \]
\[ 255^\circ + 180^\circ = 75^\circ ;\Rightarrow; \mathrm{#668800} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 14.75:1\ \text{(on white)} \]

#220088 in every colour format

FormatValue
HEX#220088
RGBrgb(34, 0, 136)
RGB (percent)rgb(13.3%, 0.0%, 53.3%)
HSLhsl(255, 100%, 27%)
HSV / HSBhsv(255, 100%, 53%)
CMYKcmyk(75%, 100%, 0%, 47%)
Decimal2228360
Descriptiondark purple

Text contrast (WCAG)

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

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#060017 #0B002D #110044 #17005B #1C0071
This colour#220088
Tints (mixed with white)#472B9C #6C55B0 #9180C4 #B5AAD7 #DAD5EB

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#002D8B26
Deuteranopia#00228619
Tritanopia#00354D72
Grayscale#282828-

Nearest named colours

NameHex
Navy#000080
Dark blue#00008B
Indigo#4B0082
Midnight blue#191970

Questions

What is the RGB value of #220088?

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

What is the HSL value of #220088?

hsl(255, 100%, 27%): a hue of 255°, 100% saturation and 27% lightness.

What is the complementary colour of #220088?

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

Should I use white or black text on #220088?

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

What is the CMYK value of #220088?

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

What is the closest named colour to #220088?

Navy (#000080).

Matching colours

A little darker, a little lighter

Make a palette

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