#662D6A color
The hex color #662D6A is a dark, desaturated magenta.
In the RGB color model it is made of 40% red, 17.6% green and 41.6% blue (102, 45, 106).
Its hue angle is 296°, with 40% saturation and 30% lightness. For print, the CMYK equivalent is 4% cyan, 58% magenta, 0% yellow and 58% black.
The closest named color is Byzantine Robe (#602F6B), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.77:1).
#662D6A color codes
| HEX | #662D6A | |
|---|---|---|
| RGB | rgb(102, 45, 106) | |
| RGB percent | rgb(40%, 17.6%, 41.6%) | |
| HSL | hsl(296, 40%, 30%) | |
| HSV / HSB | hsv(296, 58%, 42%) | |
| CMYK | cmyk(4%, 58%, 0%, 58%) | |
| CIE LAB | lab(28.75, 35.15, -24.42) | |
| CIE LCH | lch(28.75, 42.8, 325.21) | |
| CIE XYZ | xyz(9.019, 5.743, 14.266) | |
| Decimal | 6696298 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #662D6A, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #662D6A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.15:1 | Fail | Fail | Fail |
| Sample text | 9.77:1 | Pass | Pass | Pass |
| #662D6A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.77:1 | Pass | Pass | Pass |
| Sample text | 2.15:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #662D6A looks to people with the most common types of color vision deficiency.
#253f6cProtanopia
no red cones#374668Deuteranopia
no green cones#683547Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #662d6a; }
.text { color: #662d6a; }
.border { border: 2px solid #662d6a; }
.transparent { background-color: rgb(102 45 106 / 50%); }
.gradient { background: linear-gradient(to right, #662d6a, #6a2d50); }
Similar colors
#602f6bByzantine Robe#663366Wineberry#5b3167Imperial Purple#6e3974Eminence#673362Opulent Purple#6b327bGalactic Grapevine#702963Byzantium#593569Purple Protégé
Questions
- What color is #662D6A?
- #662D6A is a dark, desaturated magenta, closest to the named color Byzantine Robe. It belongs to the purple family of colors.
- What is the RGB value of #662D6A?
- The RGB value is 102, 45, 106: 102 red, 45 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #662D6A?
- The complementary color is #316A2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #662D6A?
- White text. Black text has a contrast ratio of 2.15:1 and white text 9.77:1. WCAG asks for at least 4.5:1 for normal text.