#662A67 color
The hex color #662A67 is a dark, desaturated magenta.
In the RGB color model it is made of 40% red, 16.5% green and 40.4% blue (102, 42, 103).
Its hue angle is 299°, with 42% saturation and 28% lightness. For print, the CMYK equivalent is 1% cyan, 59% magenta, 0% yellow and 60% black.
The closest named color is Byzantine Robe (#602F6B), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.04:1).
#662A67 color codes
| HEX | #662A67 | |
|---|---|---|
| RGB | rgb(102, 42, 103) | |
| RGB percent | rgb(40%, 16.5%, 40.4%) | |
| HSL | hsl(299, 42%, 28%) | |
| HSV / HSB | hsv(299, 59%, 40%) | |
| CMYK | cmyk(1%, 59%, 0%, 60%) | |
| CIE LAB | lab(28.01, 36.12, -23.66) | |
| CIE LCH | lch(28.01, 43.18, 326.78) | |
| CIE XYZ | xyz(8.755, 5.461, 13.422) | |
| Decimal | 6695527 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #662A67, 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 #662A67 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.09:1 | Fail | Fail | Fail |
| Sample text | 10.04:1 | Pass | Pass | Pass |
| #662A67 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.04:1 | Pass | Pass | Pass |
| Sample text | 2.09: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 #662A67 looks to people with the most common types of color vision deficiency.
#233d69Protanopia
no red cones#374565Deuteranopia
no green cones#693144Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #662a67; }
.text { color: #662a67; }
.border { border: 2px solid #662a67; }
.transparent { background-color: rgb(102 42 103 / 50%); }
.gradient { background: linear-gradient(to right, #662a67, #672a49); }
Similar colors
#602f6bByzantine Robe#663366Wineberry#702963Byzantium#673362Opulent Purple#5b3167Imperial Purple#6e3974Eminence#6b327bGalactic Grapevine#6b295aPretty in Prune
Questions
- What color is #662A67?
- #662A67 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 #662A67?
- The RGB value is 102, 42, 103: 102 red, 42 green and 103 blue on a 0 to 255 scale.
- What is the complementary color of #662A67?
- The complementary color is #2B672A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #662A67?
- White text. Black text has a contrast ratio of 2.09:1 and white text 10.04:1. WCAG asks for at least 4.5:1 for normal text.