#664978 color
The hex color #664978 is a dark, grayish violet.
In the RGB color model it is made of 40% red, 28.6% green and 47.1% blue (102, 73, 120).
Its hue angle is 277°, with 24% saturation and 38% lightness. For print, the CMYK equivalent is 15% cyan, 39% magenta, 0% yellow and 53% black.
The closest named color is Neon Violet (#674876), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.53:1).
#664978 color codes
| HEX | #664978 | |
|---|---|---|
| RGB | rgb(102, 73, 120) | |
| RGB percent | rgb(40%, 28.6%, 47.1%) | |
| HSL | hsl(277, 24%, 38%) | |
| HSV / HSB | hsv(277, 39%, 47%) | |
| CMYK | cmyk(15%, 39%, 0%, 53%) | |
| CIE LAB | lab(35.88, 21.88, -22.12) | |
| CIE LCH | lch(35.88, 31.11, 314.7) | |
| CIE XYZ | xyz(11.252, 8.946, 18.9) | |
| Decimal | 6703480 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #664978, 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 #664978 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.79:1 | Fail | Fail | Fail |
| Sample text | 7.53:1 | Pass | Pass | Pass |
| #664978 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.53:1 | Pass | Pass | Pass |
| Sample text | 2.79: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 #664978 looks to people with the most common types of color vision deficiency.
#40537aProtanopia
no red cones#475577Deuteranopia
no green cones#64505bTritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #664978; }
.text { color: #664978; }
.border { border: 2px solid #664978; }
.transparent { background-color: rgb(102 73 120 / 50%); }
.gradient { background: linear-gradient(to right, #664978, #784972); }
Similar colors
#674876Neon Violet#614a7bRoyal Robe#61496eYour Majesty#5b4276Drifting Violet#5c457bIn the Vines#604c81Sumptuous Purple#673e6eMajesty#57446aHaunted Candelabra
Closest common color name: Plum.
Questions
- What color is #664978?
- #664978 is a dark, grayish violet, closest to the named color Neon Violet. It belongs to the purple family of colors.
- What is the RGB value of #664978?
- The RGB value is 102, 73, 120: 102 red, 73 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #664978?
- The complementary color is #5B7849, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #664978?
- White text. Black text has a contrast ratio of 2.79:1 and white text 7.53:1. WCAG asks for at least 4.5:1 for normal text.