#660066 color

#660066 is rgb(102, 0, 102) in RGB and hsl(300, 100%, 20%) in HSL. The closest CSS named color is purple (#800080, ΔE 5.7). Use white text on it (contrast 11.95:1).

#660066magenta
HEX#660066
Short HEX#606
RGBrgb(102, 0, 102)
RGB percentrgb(40%, 0%, 40%)
HSLhsl(300, 100%, 20%)
HSV / HSBhsv(300, 100%, 40%)
CMYKcmyk(0%, 100%, 0%, 60%)

Edit in the color converter → · Check contrast → · Shades →

About #660066

#660066 is a dark, vivid magenta with a hue angle of 300°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 102 (40%) and green the weakest at 0 (0%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#660066
Short HEX#606
RGBrgb(102, 0, 102)
RGB percentrgb(40%, 0%, 40%)
HSLhsl(300, 100%, 20%)
HSV / HSBhsv(300, 100%, 40%)
CMYKcmyk(0%, 100%, 0%, 60%)
CIELAB (D65)lab(22.9 50.1 -31)
Decimal6684774
Binary01100110 00000000 01100110

HEX 66 00 66 → 102, 0, 102 (each pair is a base-16 number: 6×16 + 6 = 102)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #660066

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #660066RatioAA normalAA largeAAA normalAAA large
White text11.95:1PassPassPassPass
Black text1.76:1FailFailFailFail
White text on #660066
Black text on #660066
#660066 text on white
#660066 text on black

Relative luminance is 0.0378 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#002f68

Deuteranopia
#253b64

Tritanopia
#6a1839

Achromatopsia
#373737

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 23.3). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
purple#8000805.7
darkmagenta#8b008b8.1
indigo#4b00829.2
rebeccapurple#66339911.7

Nearby colors

CSS

.element {
  color: #660066;
  background-color: rgb(102, 0, 102);
  border: 1px solid hsl(300, 100%, 20%);
  box-shadow: 0 2px 8px rgb(102 0 102 / 50%);
}
:root { --brand: #660066; }

Frequently asked questions

What color is #660066?
A dark vivid magenta in the pink & magenta family. Closest CSS name: purple.
What is #660066 in RGB?
rgb(102, 0, 102): red 102, green 0, blue 102.
What is the complementary color of #660066?
#006600, found by rotating the hue 180°.