#664C7D color
The hex color #664C7D is a grayish violet.
In the RGB color model it is made of 40% red, 29.8% green and 49% blue (102, 76, 125).
Its hue angle is 272°, with 24% saturation and 39% lightness. For print, the CMYK equivalent is 18% cyan, 39% magenta, 0% yellow and 51% black.
The closest named color is Royal Robe (#614A7B), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.25:1).
#664C7D color codes
| HEX | #664C7D | |
|---|---|---|
| RGB | rgb(102, 76, 125) | |
| RGB percent | rgb(40%, 29.8%, 49%) | |
| HSL | hsl(272, 24%, 39%) | |
| HSV / HSB | hsv(272, 39%, 49%) | |
| CMYK | cmyk(18%, 39%, 0%, 51%) | |
| CIE LAB | lab(36.88, 21.24, -23.65) | |
| CIE LCH | lch(36.88, 31.79, 311.93) | |
| CIE XYZ | xyz(11.765, 9.474, 20.607) | |
| Decimal | 6704253 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #664C7D, 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 #664C7D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.89:1 | Fail | Fail | Fail |
| Sample text | 7.25:1 | Pass | Pass | Pass |
| #664C7D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.25:1 | Pass | Pass | Pass |
| Sample text | 2.89: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 #664C7D looks to people with the most common types of color vision deficiency.
#42567fProtanopia
no red cones#48577cDeuteranopia
no green cones#63535eTritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #664c7d; }
.text { color: #664c7d; }
.border { border: 2px solid #664c7d; }
.transparent { background-color: rgb(102 76 125 / 50%); }
.gradient { background: linear-gradient(to right, #664c7d, #7d4c7b); }
Similar colors
#614a7bRoyal Robe#674876Neon Violet#604c81Sumptuous Purple#5c457bIn the Vines#5b4276Drifting Violet#61496eYour Majesty#75528bNinja Princess#714a8bGrapes of Italy
Closest common color name: Royal Purple.
Questions
- What color is #664C7D?
- #664C7D is a grayish violet, closest to the named color Royal Robe. It belongs to the purple family of colors.
- What is the RGB value of #664C7D?
- The RGB value is 102, 76, 125: 102 red, 76 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #664C7D?
- The complementary color is #637D4C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #664C7D?
- White text. Black text has a contrast ratio of 2.89:1 and white text 7.25:1. WCAG asks for at least 4.5:1 for normal text.