WordGPT

#662266 color

#662266 is a dark muted pink colour. It is rgb(102, 34, 102) in RGB and hsl(300, 50%, 27%) in HSL. Text in white reads better on it: the contrast is 10.58:1 against white and 1.99:1 against black.

#662266
#662266: #662266
Complementary#662266#226622Analogous#442266#662266#662244Triadic#662266#666622#226666Tetradic (square)#662266#664422#226622#224466Split complementary#662266#446622#226644
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
110611220b22331133441744551c55662266804780996c99b391b3ccb5cce6dae6
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{#662266}:\quad R=\mathrm{66}_{16}=102,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{66}_{16}=102
  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=300∘,S=50%,L=27%H=300^\circ,\quad S=50\%,\quad L=27\%
  3. 3

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

    300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#226622}
  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=10.58:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 10.58:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#662266} = \mathrm{rgb}(102, 34, 102) \]
\[ \mathrm{#662266}:\quad R=\mathrm{66}_{16}=102,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{66}_{16}=102 \]
\[ H=300^\circ,\quad S=50\%,\quad L=27\% \]
\[ 300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#226622} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 10.58:1\ \text{(on white)} \]

#662266 in every colour format

FormatValue
HEX#662266
RGBrgb(102, 34, 102)
RGB (percent)rgb(40.0%, 13.3%, 40.0%)
HSLhsl(300, 50%, 27%)
HSV / HSBhsv(300, 67%, 40%)
CMYKcmyk(0%, 67%, 0%, 60%)
Decimal6693478
Descriptiondark muted pink

Text contrast (WCAG)

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

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#110611 #220B22 #331133 #441744 #551C55
This colour#662266
Tints (mixed with white)#804780 #996C99 #B391B3 #CCB5CC #E6DAE6

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#19396834
Deuteranopia#32426436
Tritanopia#692B4127
Grayscale#3F3F3F-

Nearest named colours

NameHex
Dark slate blue#483D8B
Purple#800080
Rebecca purple#663399
Dark magenta#8B008B

Questions

What is the RGB value of #662266?

rgb(102, 34, 102): red 102, green 34, blue 102.

What is the HSL value of #662266?

hsl(300, 50%, 27%): a hue of 300°, 50% saturation and 27% lightness.

What is the complementary colour of #662266?

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

Should I use white or black text on #662266?

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

What is the CMYK value of #662266?

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

What is the closest named colour to #662266?

Dark slate blue (#483D8B).

Matching colours

A little darker, a little lighter

Make a palette

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