#662271 color
The hex color #662271 is a dark, moderate magenta.
In the RGB color model it is made of 40% red, 13.3% green and 44.3% blue (102, 34, 113).
Its hue angle is 292°, with 54% saturation and 29% lightness. For print, the CMYK equivalent is 10% cyan, 70% magenta, 0% yellow and 56% black.
The closest named color is Elegant Purple Gown (#552367), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.33:1).
#662271 color codes
| HEX | #662271 | |
|---|---|---|
| RGB | rgb(102, 34, 113) | |
| RGB percent | rgb(40%, 13.3%, 44.3%) | |
| HSL | hsl(292, 54%, 29%) | |
| HSV / HSB | hsv(292, 70%, 44%) | |
| CMYK | cmyk(10%, 70%, 0%, 56%) | |
| CIE LAB | lab(27.19, 42, -31.38) | |
| CIE LCH | lch(27.19, 52.43, 323.23) | |
| CIE XYZ | xyz(9.032, 5.162, 16.14) | |
| Decimal | 6693489 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #662271, 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 #662271 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.03:1 | Fail | Fail | Fail |
| Sample text | 10.33:1 | Pass | Pass | Pass |
| #662271 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.33:1 | Pass | Pass | Pass |
| Sample text | 2.03: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 #662271 looks to people with the most common types of color vision deficiency.
#0b3b73Protanopia
no red cones#2c436fDeuteranopia
no green cones#672f46Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #662271; }
.text { color: #662271; }
.border { border: 2px solid #662271; }
.transparent { background-color: rgb(102 34 113 / 50%); }
.gradient { background: linear-gradient(to right, #662271, #712255); }
Similar colors
#552367Elegant Purple Gown#6b327bGalactic Grapevine#602f6bByzantine Robe#662288Sapphire Siren#522a6fPurple Seduction#5b3167Imperial Purple#802280Hello Darkness My Old Friend#581a57Purple Velour
Closest common color name: Purple.
Questions
- What color is #662271?
- #662271 is a dark, moderate magenta, closest to the named color Elegant Purple Gown. It belongs to the purple family of colors.
- What is the RGB value of #662271?
- The RGB value is 102, 34, 113: 102 red, 34 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #662271?
- The complementary color is #2D7122, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #662271?
- White text. Black text has a contrast ratio of 2.03:1 and white text 10.33:1. WCAG asks for at least 4.5:1 for normal text.