WordGPT

#332244 color

#332244 is a dark muted purple colour. It is rgb(51, 34, 68) in RGB and hsl(270, 33%, 20%) in HSL. Text in white reads better on it: the contrast is 14.45:1 against white and 1.45:1 against black.

#332244
#332244: #332244
Complementary#332244#334422Analogous#222244#332244#442244Triadic#332244#443322#224433Tetradic (square)#332244#442222#334422#224444Split complementary#332244#444422#224422
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
08060b110b171a112222172d2b1c39332244554763776c829991a2bbb5c1dddae0
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{#332244}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{22}_{16}=34,\ 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=33%,L=20%H=270^\circ,\quad S=33\%,\quad L=20\%
  3. 3

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

    270^\circ + 180^\circ = 90^\circ ;\Rightarrow; \mathrm{#334422}
  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.45:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 14.45:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#332244} = \mathrm{rgb}(51, 34, 68) \]
\[ \mathrm{#332244}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{44}_{16}=68 \]
\[ H=270^\circ,\quad S=33\%,\quad L=20\% \]
\[ 270^\circ + 180^\circ = 90^\circ ;\Rightarrow; \mathrm{#334422} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 14.45:1\ \text{(on white)} \]

#332244 in every colour format

FormatValue
HEX#332244
RGBrgb(51, 34, 68)
RGB (percent)rgb(20.0%, 13.3%, 26.7%)
HSLhsl(270, 33%, 20%)
HSV / HSBhsv(270, 50%, 27%)
CMYKcmyk(25%, 50%, 0%, 73%)
Decimal3351108
Descriptiondark muted 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.45:1passpasspasspass
Black text1.45:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#08060B #110B17 #1A1122 #22172D #2B1C39
This colour#332244
Tints (mixed with white)#554763 #776C82 #9991A2 #BBB5C1 #DDDAE0

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#1A294513
Deuteranopia#1E2A4313
Tritanopia#30282F18
Grayscale#292929-

Nearest named colours

NameHex
Dark slate blue#483D8B
Black#000000
Dark slate gray#2F4F4F
Midnight blue#191970

Questions

What is the RGB value of #332244?

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

What is the HSL value of #332244?

hsl(270, 33%, 20%): a hue of 270°, 33% saturation and 20% lightness.

What is the complementary colour of #332244?

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

Should I use white or black text on #332244?

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

What is the CMYK value of #332244?

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

What is the closest named colour to #332244?

Dark slate blue (#483D8B).

Matching colours

A little darker, a little lighter

Make a palette

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