#661E97#661E97
#661E97 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.183 H 306.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #661E97 |
|---|---|
| RGB | rgb(102, 30, 151) |
| HSL | hsl(276, 67%, 35%) |
| HSV | hsv(276, 80%, 59%) |
| CMYK | cmyk(32.5%, 80.1%, 0%, 40.8%) |
| CIE-LAB | lab(29.38, 51.89, -51.64) |
| CIE-LCH | lch(29.38, 73.21, 315.14°) |
| OKLab | oklab(41.48% 0.1099 -0.1469) |
| OKLCH | oklch(41.48% 0.183 306.8) |
| XYZ | xyz(11.5285, 5.9878, 29.8206) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.96
Purple (survey)
#7E1E9C
ΔE00 4.53
Indigo
#4B0082
ΔE00 6.55
Purple
#800080
ΔE00 7.74
Violet Blue
#510AC9
ΔE00 8.03
Indigo Blue
#3A18B1
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661E97 #4F971E
analogous
#291E97 #661E97 #971E8C
triadic
#661E97 #97661E #1E9766
tetradic
#661E97 #97291E #4F971E #1E8C97
square
#661E97 #97291E #4F971E #1E8C97
split-complementary
#661E97 #8C971E #1E9729
monochromatic
#210A31 #441464 #661E97 #8828CA #A553DD
Accessibility & contrast
On white
9.56
#661E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#661E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661E97
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661E97 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#5D3D5B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #661e97; /* rgb */ color: rgb(102, 30, 151); /* oklch */ color: oklch(41.5% 0.183 306.8);
Tailwind
colors: {
custom: {
50: '#9763b6',
500: '#661e97',
950: '#000000',
},
}SCSS
$custom: #661e97; $custom-light: #9763b6; $custom-dark: #000000;
JSON
{
"hex": "#661e97",
"rgb": {
"r": 102,
"g": 30,
"b": 151
},
"hsl": {
"h": 275.702,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.41479,
"c": 0.18347,
"h": 306.8
},
"luminance": 0.05988
}Semantic roles & 50–950 ramp
primary
#661E97
secondary
#7EC051
accent
#EA3E84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80