#661B97#661B97
#661B97 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.186 H 307.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #661B97 |
|---|---|
| RGB | rgb(102, 27, 151) |
| HSL | hsl(276, 70%, 35%) |
| HSV | hsv(276, 82%, 59%) |
| CMYK | cmyk(32.5%, 82.1%, 0%, 40.8%) |
| CIE-LAB | lab(29.01, 52.96, -52.24) |
| CIE-LCH | lch(29.01, 74.39, 315.39°) |
| OKLab | oklab(41.22% 0.1123 -0.1487) |
| OKLCH | oklch(41.22% 0.186 307.1) |
| XYZ | xyz(11.4561, 5.8432, 29.7965) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.37
Purple (survey)
#7E1E9C
ΔE00 4.63
Indigo
#4B0082
ΔE00 6.28
Purple
#800080
ΔE00 7.67
Violet Blue
#510AC9
ΔE00 7.94
Indigo Blue
#3A18B1
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661B97 #4C971B
analogous
#281B97 #661B97 #971B8A
triadic
#661B97 #97661B #1B9766
tetradic
#661B97 #97281B #4C971B #1B8A97
square
#661B97 #97281B #4C971B #1B8A97
split-complementary
#661B97 #8A971B #1B9728
monochromatic
#20082F #431263 #661B97 #8924CB #A64DDF
Accessibility & contrast
On white
9.68
#661B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#661B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661B97
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661B97 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#5D3C5A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #661b97; /* rgb */ color: rgb(102, 27, 151); /* oklch */ color: oklch(41.2% 0.186 307.1);
Tailwind
colors: {
custom: {
50: '#9762b6',
500: '#661b97',
950: '#000000',
},
}SCSS
$custom: #661b97; $custom-light: #9762b6; $custom-dark: #000000;
JSON
{
"hex": "#661b97",
"rgb": {
"r": 102,
"g": 27,
"b": 151
},
"hsl": {
"h": 276.29,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.41222,
"c": 0.18631,
"h": 307.1
},
"luminance": 0.05843
}Semantic roles & 50–950 ramp
primary
#661B97
secondary
#7BC14C
accent
#EC3B81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80