WordGPT

#330088 color

#330088 is a dark purple colour. It is rgb(51, 0, 136) in RGB and hsl(263, 100%, 27%) in HSL. Text in white reads better on it: the contrast is 14.03:1 against white and 1.50:1 against black.

#330088
#330088: #330088
Complementary#330088#558800Analogous#001188#330088#770088Triadic#330088#883300#008833Tetradic (square)#330088#880011#558800#008877Split complementary#330088#887700#118800
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
08001711002d1a004422005b2b0071330088552b9c7755b09980c4bbaad7ddd5eb
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{#330088}:\quad R=\mathrm{33}_{16}=51,\ 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=263∘,S=100%,L=27%H=263^\circ,\quad S=100\%,\quad L=27\%
  3. 3

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

    263^\circ + 180^\circ = 83^\circ ;\Rightarrow; \mathrm{#558800}
  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.03:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 14.03:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#330088} = \mathrm{rgb}(51, 0, 136) \]
\[ \mathrm{#330088}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{88}_{16}=136 \]
\[ H=263^\circ,\quad S=100\%,\quad L=27\% \]
\[ 263^\circ + 180^\circ = 83^\circ ;\Rightarrow; \mathrm{#558800} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 14.03:1\ \text{(on white)} \]

#330088 in every colour format

FormatValue
HEX#330088
RGBrgb(51, 0, 136)
RGB (percent)rgb(20.0%, 0.0%, 53.3%)
HSLhsl(263, 100%, 27%)
HSV / HSBhsv(263, 100%, 53%)
CMYKcmyk(63%, 100%, 0%, 47%)
Decimal3342472
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.03:1passpasspasspass
Black text1.50:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#080017 #11002D #1A0044 #22005B #2B0071
This colour#330088
Tints (mixed with white)#552B9C #7755B0 #9980C4 #BBAAD7 #DDD5EB

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#002F8B27
Deuteranopia#00288623
Tritanopia#00344D69
Grayscale#2C2C2C-

Nearest named colours

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

Questions

What is the RGB value of #330088?

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

What is the HSL value of #330088?

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

What is the complementary colour of #330088?

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

Should I use white or black text on #330088?

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

What is the CMYK value of #330088?

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

What is the closest named colour to #330088?

Navy (#000080).

Matching colours

A little darker, a little lighter

Make a palette

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