#6644CC color
#6644CC is a purple colour. It is rgb(102, 68, 204) in RGB and hsl(255, 57%, 53%) in HSL. Text in white reads better on it: the contrast is 6.43:1 against white and 3.26: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{#6644CC}:\quad R=\mathrm{66}_{16}=102,\ G=\mathrm{44}_{16}=68,\ B=\mathrm{CC}_{16}=204 - 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.
255^\circ + 180^\circ = 75^\circ ;\Rightarrow; \mathrm{#AACC44} - 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{#6644CC} = \mathrm{rgb}(102, 68, 204) \]
\[ \mathrm{#6644CC}:\quad R=\mathrm{66}_{16}=102,\ G=\mathrm{44}_{16}=68,\ B=\mathrm{CC}_{16}=204 \]
\[ H=255^\circ,\quad S=57\%,\quad L=53\% \]
\[ 255^\circ + 180^\circ = 75^\circ ;\Rightarrow; \mathrm{#AACC44} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.43:1\ \text{(on white)} \]#6644CC in every colour format
| Format | Value |
|---|---|
| HEX | #6644CC |
| RGB | rgb(102, 68, 204) |
| RGB (percent) | rgb(40.0%, 26.7%, 80.0%) |
| HSL | hsl(255, 57%, 53%) |
| HSV / HSB | hsv(255, 67%, 80%) |
| CMYK | cmyk(50%, 67%, 0%, 20%) |
| Decimal | 6702284 |
| 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 | 6.43:1 | pass | pass | fail | pass |
| Black text | 3.26:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #110B22 #221744 #332266 #442D88 #5539AA |
| This colour | #6644CC |
| Tints (mixed with white) | #8063D5 #9982DD #B3A2E6 #CCC1EE #E6E0F7 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #0061D0 | 28 |
| Deuteranopia | #005BC9 | 26 |
| Tritanopia | #426682 | 69 |
| Grayscale | #5F5F5F | - |
Nearest named colours
| Name | Hex |
|---|---|
| Medium slate blue | #7B68EE |
| Slate blue | #6A5ACD |
| Dark orchid | #9932CC |
| Rebecca purple | #663399 |
Questions
What is the RGB value of #6644CC?
rgb(102, 68, 204): red 102, green 68, blue 204.
What is the HSL value of #6644CC?
hsl(255, 57%, 53%): a hue of 255°, 57% saturation and 53% lightness.
What is the complementary colour of #6644CC?
#AACC44, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #99BB33.
Should I use white or black text on #6644CC?
White. White gives 6.43:1 and black 3.26:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #6644CC?
cmyk(50%, 67%, 0%, 20%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #6644CC?
Medium slate blue (#7B68EE).