#6611BB color
#6611BB is a purple colour. It is rgb(102, 17, 187) in RGB and hsl(270, 83%, 40%) in HSL. Text in white reads better on it: the contrast is 8.89:1 against white and 2.36:1 against black.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#6611BB}:\quad R=\mathrm{66}_{16}=102,\ G=\mathrm{11}_{16}=17,\ B=\mathrm{BB}_{16}=187 - 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.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
270^\circ + 180^\circ = 90^\circ ;\Rightarrow; \mathrm{#66BB11} - 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).
LaTeX source of the formulas on this page
\[ \mathrm{#6611BB} = \mathrm{rgb}(102, 17, 187) \]
\[ \mathrm{#6611BB}:\quad R=\mathrm{66}_{16}=102,\ G=\mathrm{11}_{16}=17,\ B=\mathrm{BB}_{16}=187 \]
\[ H=270^\circ,\quad S=83\%,\quad L=40\% \]
\[ 270^\circ + 180^\circ = 90^\circ ;\Rightarrow; \mathrm{#66BB11} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 8.89:1\ \text{(on white)} \]#6611BB in every colour format
| Format | Value |
|---|---|
| HEX | #6611BB |
| RGB | rgb(102, 17, 187) |
| RGB (percent) | rgb(40.0%, 6.7%, 73.3%) |
| HSL | hsl(270, 83%, 40%) |
| HSV / HSB | hsv(270, 91%, 73%) |
| CMYK | cmyk(45%, 91%, 0%, 27%) |
| Decimal | 6689211 |
| Description | purple |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 8.89:1 | pass | pass | pass | pass |
| Black text | 2.36:1 | fail | fail | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #11031F #22063E #33095E #440B7D #550E9C |
| This colour | #6611BB |
| Tints (mixed with white) | #8039C6 #9960D2 #B388DD #CCB0E8 #E6D7F4 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #004ABF | 36 |
| Deuteranopia | #0048B8 | 37 |
| Tritanopia | #4F4A6E | 73 |
| Grayscale | #4A4A4A | - |
Nearest named colours
| Name | Hex |
|---|---|
| Blue violet | #8A2BE2 |
| Dark violet | #9400D3 |
| Dark orchid | #9932CC |
| Dark blue | #00008B |
Questions
What is the RGB value of #6611BB?
rgb(102, 17, 187): red 102, green 17, blue 187.
What is the HSL value of #6611BB?
hsl(270, 83%, 40%): a hue of 270°, 83% saturation and 40% lightness.
What is the complementary colour of #6611BB?
#66BB11, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #99EE44.
Should I use white or black text on #6611BB?
White. White gives 8.89:1 and black 2.36:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #6611BB?
cmyk(45%, 91%, 0%, 27%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #6611BB?
Blue violet (#8A2BE2).