#664D7F color
The hex color #664D7F is a grayish violet.
In the RGB color model it is made of 40% red, 30.2% green and 49.8% blue (102, 77, 127).
Its hue angle is 270°, with 25% saturation and 40% lightness. For print, the CMYK equivalent is 20% cyan, 39% magenta, 0% yellow and 50% 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.16:1).
#664D7F color codes
| HEX | #664D7F | |
|---|---|---|
| RGB | rgb(102, 77, 127) | |
| RGB percent | rgb(40%, 30.2%, 49.8%) | |
| HSL | hsl(270, 25%, 40%) | |
| HSV / HSB | hsv(270, 39%, 50%) | |
| CMYK | cmyk(20%, 39%, 0%, 50%) | |
| CIE LAB | lab(37.23, 21.12, -24.34) | |
| CIE LCH | lch(37.23, 32.22, 310.95) | |
| CIE XYZ | xyz(11.963, 9.665, 21.31) | |
| Decimal | 6704511 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #664D7F, 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 #664D7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.93:1 | Fail | Fail | Fail |
| Sample text | 7.16:1 | Pass | Pass | Pass |
| #664D7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.16:1 | Pass | Pass | Pass |
| Sample text | 2.93: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 #664D7F looks to people with the most common types of color vision deficiency.
#425781Protanopia
no red cones#48587eDeuteranopia
no green cones#625560Tritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #664d7f; }
.text { color: #664d7f; }
.border { border: 2px solid #664d7f; }
.transparent { background-color: rgb(102 77 127 / 50%); }
.gradient { background: linear-gradient(to right, #664d7f, #7f4d7f); }
Similar colors
#614a7bRoyal Robe#604c81Sumptuous Purple#674876Neon Violet#5c457bIn the Vines#5c5083Freshly Purpleized#5b4276Drifting Violet#75528bNinja Princess#714a8bGrapes of Italy
Closest common color name: Royal Purple.
Questions
- What color is #664D7F?
- #664D7F 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 #664D7F?
- The RGB value is 102, 77, 127: 102 red, 77 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #664D7F?
- The complementary color is #667F4D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #664D7F?
- White text. Black text has a contrast ratio of 2.93:1 and white text 7.16:1. WCAG asks for at least 4.5:1 for normal text.