#664C98 color
The hex color #664C98 is a desaturated violet.
In the RGB color model it is made of 40% red, 29.8% green and 59.6% blue (102, 76, 152).
Its hue angle is 261°, with 33% saturation and 45% lightness. For print, the CMYK equivalent is 33% cyan, 50% magenta, 0% yellow and 40% black.
The closest named color is Ultrapurple Merge (#654EA3), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.88:1).
#664C98 color codes
| HEX | #664C98 | |
|---|---|---|
| RGB | rgb(102, 76, 152) | |
| RGB percent | rgb(40%, 29.8%, 59.6%) | |
| HSL | hsl(261, 33%, 45%) | |
| HSV / HSB | hsv(261, 50%, 60%) | |
| CMYK | cmyk(33%, 50%, 0%, 40%) | |
| CIE LAB | lab(38.31, 28.27, -37.88) | |
| CIE LCH | lch(38.31, 47.27, 306.74) | |
| CIE XYZ | xyz(13.73, 10.26, 30.957) | |
| Decimal | 6704280 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #664C98, 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 #664C98 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.05:1 | Fail | Fail | Pass |
| Sample text | 6.88:1 | Pass | Fail | Pass |
| #664C98 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.88:1 | Pass | Fail | Pass |
| Sample text | 3.05:1 | Fail | Fail | Pass |
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 #664C98 looks to people with the most common types of color vision deficiency.
#325a9bProtanopia
no red cones#385996Deuteranopia
no green cones#5b5a6bTritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #664c98; }
.text { color: #664c98; }
.border { border: 2px solid #664c98; }
.transparent { background-color: rgb(102 76 152 / 50%); }
.gradient { background: linear-gradient(to right, #664c98, #8c4c98); }
Similar colors
#654ea3Ultrapurple Merge#6f5698Passion Flower#664488Lords of the Night#6f58a6Prophet Violet#7851a9Royal Purple#7851a9Royal Lavender#6b3fa0Poppy Pompadour#714a8bGrapes of Italy
Questions
- What color is #664C98?
- #664C98 is a desaturated violet, closest to the named color Ultrapurple Merge. It belongs to the purple family of colors.
- What is the RGB value of #664C98?
- The RGB value is 102, 76, 152: 102 red, 76 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #664C98?
- The complementary color is #7E984C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #664C98?
- White text. Black text has a contrast ratio of 3.05:1 and white text 6.88:1. WCAG asks for at least 4.5:1 for normal text.