#661E96#661E96
#661E96 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.182 H 307.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #661E96 |
|---|---|
| RGB | rgb(102, 30, 150) |
| HSL | hsl(276, 67%, 35%) |
| HSV | hsv(276, 80%, 59%) |
| CMYK | cmyk(32%, 80%, 0%, 41.2%) |
| CIE-LAB | lab(29.30, 51.66, -51.16) |
| CIE-LCH | lch(29.30, 72.71, 315.28°) |
| OKLab | oklab(41.4% 0.1101 -0.1455) |
| OKLCH | oklch(41.4% 0.183 307.1) |
| XYZ | xyz(11.4476, 5.9555, 29.3947) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.98
Purple (survey)
#7E1E9C
ΔE00 4.51
Indigo
#4B0082
ΔE00 6.50
Purple
#800080
ΔE00 7.63
Darkmagenta
#8B008B
ΔE00 8.08
Violet Blue
#510AC9
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661E96 #4E961E
analogous
#2A1E96 #661E96 #961E8A
triadic
#661E96 #96661E #1E9666
tetradic
#661E96 #962A1E #4E961E #1E8A96
square
#661E96 #962A1E #4E961E #1E8A96
split-complementary
#661E96 #8A961E #1E962A
monochromatic
#210A30 #431463 #661E96 #8928C9 #A552DC
Accessibility & contrast
On white
9.58
#661E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#661E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661E96
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661E96 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#5E3D5A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #661e96; /* rgb */ color: rgb(102, 30, 150); /* oklch */ color: oklch(41.4% 0.182 307.1);
Tailwind
colors: {
custom: {
50: '#9763b6',
500: '#661e96',
950: '#000000',
},
}SCSS
$custom: #661e96; $custom-light: #9763b6; $custom-dark: #000000;
JSON
{
"hex": "#661e96",
"rgb": {
"r": 102,
"g": 30,
"b": 150
},
"hsl": {
"h": 276,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.41397,
"c": 0.1825,
"h": 307.1
},
"luminance": 0.05955
}Semantic roles & 50–950 ramp
primary
#661E96
secondary
#7DBF50
accent
#EA3E83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80