#662288 color

#662288 is rgb(102, 34, 136) in RGB and hsl(280, 60%, 33%) in HSL. The closest CSS named color is rebeccapurple (#663399, ΔE 4.5). Use white text on it (contrast 9.77:1).

#662288magenta
HEX#662288
Short HEX#628
RGBrgb(102, 34, 136)
RGB percentrgb(40%, 13.3%, 53.3%)
HSLhsl(280, 60%, 33%)
HSV / HSBhsv(280, 75%, 53%)
CMYKcmyk(25%, 75%, 0%, 47%)

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

About #662288

#662288 is a medium-dark, saturated magenta with a hue angle of 280°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 136 (53%) and green the weakest at 34 (13%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#662288
Short HEX#628
RGBrgb(102, 34, 136)
RGB percentrgb(40%, 13.3%, 53.3%)
HSLhsl(280, 60%, 33%)
HSV / HSBhsv(280, 75%, 53%)
CMYKcmyk(25%, 75%, 0%, 47%)
CIELAB (D65)lab(28.8 46.9 -43.4)
Decimal6693512
Binary01100110 00100010 10001000

HEX 66 22 88 → 102, 34, 136 (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 #662288

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #662288RatioAA normalAA largeAAA normalAAA large
White text9.77:1PassPassPassPass
Black text2.15:1FailFailFailFail
White text on #662288
Black text on #662288
#662288 text on white
#662288 text on black

Relative luminance is 0.0575 (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
#00418b

Deuteranopia
#134586

Tritanopia
#623953

Achromatopsia
#444444

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 20.9). 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#6633994.5
purple#8000806.3
indigo#4b00826.9
darkmagenta#8b008b7.2

Nearby colors

CSS

.element {
  color: #662288;
  background-color: rgb(102, 34, 136);
  border: 1px solid hsl(280, 60%, 33%);
  box-shadow: 0 2px 8px rgb(102 34 136 / 50%);
}
:root { --brand: #662288; }

Frequently asked questions

What color is #662288?
A medium-dark saturated magenta in the purple family. Closest CSS name: rebeccapurple.
What is #662288 in RGB?
rgb(102, 34, 136): red 102, green 34, blue 136.
What is the complementary color of #662288?
#448822, found by rotating the hue 180°.