#661C8C#661C8C
#661C8C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.175 H 310.8°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #661C8C |
|---|---|
| RGB | rgb(102, 28, 140) |
| HSL | hsl(280, 67%, 33%) |
| HSV | hsv(280, 80%, 55%) |
| CMYK | cmyk(27.1%, 80%, 0%, 45.1%) |
| CIE-LAB | lab(28.24, 50.17, -46.70) |
| CIE-LCH | lch(28.24, 68.54, 317.05°) |
| OKLab | oklab(40.41% 0.1142 -0.1324) |
| OKLCH | oklch(40.41% 0.175 310.8) |
| XYZ | xyz(10.6275, 5.5490, 25.3171) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.71
Rebeccapurple
#663399
ΔE00 4.80
Indigo
#4B0082
ΔE00 6.13
Purple
#800080
ΔE00 6.46
Darkish Purple
#751973
ΔE00 6.93
Royal Purple (survey)
#4B006E
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661C8C #428C1C
analogous
#2E1C8C #661C8C #8C1C7A
triadic
#661C8C #8C661C #1C8C66
tetradic
#661C8C #8C2E1C #428C1C #1C7A8C
square
#661C8C #8C2E1C #428C1C #1C7A8C
split-complementary
#661C8C #7A8C1C #1C8C2E
monochromatic
#1C0826 #411259 #661C8C #8B26BF #A948DA
Accessibility & contrast
On white
9.95
#661C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#661C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661C8C
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661C8C | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#613854
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #661c8c; /* rgb */ color: rgb(102, 28, 140); /* oklch */ color: oklch(40.4% 0.175 310.8);
Tailwind
colors: {
custom: {
50: '#9662ae',
500: '#661c8c',
950: '#000000',
},
}SCSS
$custom: #661c8c; $custom-light: #9662ae; $custom-dark: #000000;
JSON
{
"hex": "#661c8c",
"rgb": {
"r": 102,
"g": 28,
"b": 140
},
"hsl": {
"h": 279.643,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.40407,
"c": 0.17485,
"h": 310.8
},
"luminance": 0.05549
}Semantic roles & 50–950 ramp
primary
#661C8C
secondary
#6FBC48
accent
#EA3E78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F