#661F97#661F97
#661F97 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.182 H 306.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #661F97 |
|---|---|
| RGB | rgb(102, 31, 151) |
| HSL | hsl(276, 66%, 36%) |
| HSV | hsv(276, 79%, 59%) |
| CMYK | cmyk(32.5%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(29.51, 51.52, -51.43) |
| CIE-LCH | lch(29.51, 72.79, 315.05°) |
| OKLab | oklab(41.57% 0.109 -0.1463) |
| OKLCH | oklch(41.57% 0.182 306.7) |
| XYZ | xyz(11.5542, 6.0392, 29.8292) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.81
Purple (survey)
#7E1E9C
ΔE00 4.50
Indigo
#4B0082
ΔE00 6.64
Purple
#800080
ΔE00 7.77
Violet Blue
#510AC9
ΔE00 8.06
Indigo Blue
#3A18B1
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661F97 #50971F
analogous
#2A1F97 #661F97 #971F8C
triadic
#661F97 #97661F #1F9766
tetradic
#661F97 #972A1F #50971F #1F8C97
square
#661F97 #972A1F #50971F #1F8C97
split-complementary
#661F97 #8C971F #1F972A
monochromatic
#210A31 #441564 #661F97 #8829CA #A554DC
Accessibility & contrast
On white
9.51
#661F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#661F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661F97
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661F97 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#5D3E5B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #661f97; /* rgb */ color: rgb(102, 31, 151); /* oklch */ color: oklch(41.6% 0.182 306.7);
Tailwind
colors: {
custom: {
50: '#9764b6',
500: '#661f97',
950: '#000000',
},
}SCSS
$custom: #661f97; $custom-light: #9764b6; $custom-dark: #000000;
JSON
{
"hex": "#661f97",
"rgb": {
"r": 102,
"g": 31,
"b": 151
},
"hsl": {
"h": 275.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.4157,
"c": 0.18248,
"h": 306.7
},
"luminance": 0.06039
}Semantic roles & 50–950 ramp
primary
#661F97
secondary
#7FBF52
accent
#E93F84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80