#663399 color (rebeccapurple)

#663399 is rgb(102, 51, 153) in RGB and hsl(270, 50%, 40%) in HSL. It is exactly the CSS color rebeccapurple. Use white text on it (contrast 8.41:1).

#663399rebeccapurple
HEX#663399
Short HEX#639
RGBrgb(102, 51, 153)
RGB percentrgb(40%, 20%, 60%)
HSLhsl(270, 50%, 40%)
HSV / HSBhsv(270, 67%, 60%)
CMYKcmyk(33%, 67%, 0%, 40%)

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

About #663399

#663399 is a medium-dark, muted purple with a hue angle of 270°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 153 (60%) and green the weakest at 51 (20%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#663399
Short HEX#639
RGBrgb(102, 51, 153)
RGB percentrgb(40%, 20%, 60%)
HSLhsl(270, 50%, 40%)
HSV / HSBhsv(270, 67%, 60%)
CMYKcmyk(33%, 67%, 0%, 40%)
CIELAB (D65)lab(32.9 42.9 -47.1)
Decimal6697881
Binary01100110 00110011 10011001

HEX 66 33 99 → 102, 51, 153 (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 #663399

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #663399RatioAA normalAA largeAAA normalAAA large
White text8.41:1PassPassPassPass
Black text2.50:1FailFailFailFail
White text on #663399
Black text on #663399
#663399 text on white
#663399 text on black

Relative luminance is 0.0749 (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
#004c9c

Deuteranopia
#0f4d97

Tritanopia
#5c4961

Achromatopsia
#4d4d4d

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 18.7). 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
rebeccapurple#6633990
darkslateblue#483d8b7.3
darkmagenta#8b008b9.5
purple#8000809.6

Nearby colors

CSS

.element {
  color: #663399;
  background-color: rgb(102, 51, 153);
  border: 1px solid hsl(270, 50%, 40%);
  box-shadow: 0 2px 8px rgb(102 51 153 / 50%);
}
:root { --brand: #663399; }

Frequently asked questions

What color is #663399?
A medium-dark muted purple in the purple family. Closest CSS name: rebeccapurple.
What is #663399 in RGB?
rgb(102, 51, 153): red 102, green 51, blue 153.
What is the complementary color of #663399?
#669933, found by rotating the hue 180°.