#661F96#661F96
#661F96 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.181 H 307.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #661F96 |
|---|---|
| RGB | rgb(102, 31, 150) |
| HSL | hsl(276, 66%, 35%) |
| HSV | hsv(276, 79%, 59%) |
| CMYK | cmyk(32%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(29.43, 51.29, -50.95) |
| CIE-LCH | lch(29.43, 72.29, 315.19°) |
| OKLab | oklab(41.49% 0.1093 -0.1449) |
| OKLCH | oklch(41.49% 0.182 307) |
| XYZ | xyz(11.4733, 6.0069, 29.4033) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.83
Purple (survey)
#7E1E9C
ΔE00 4.48
Indigo
#4B0082
ΔE00 6.60
Purple
#800080
ΔE00 7.66
Darkmagenta
#8B008B
ΔE00 8.09
Violet Blue
#510AC9
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661F96 #4F961F
analogous
#2A1F96 #661F96 #961F8A
triadic
#661F96 #96661F #1F9666
tetradic
#661F96 #962A1F #4F961F #1F8A96
square
#661F96 #962A1F #4F961F #1F8A96
split-complementary
#661F96 #8A961F #1F962A
monochromatic
#210A31 #441563 #661F96 #8829C9 #A554DC
Accessibility & contrast
On white
9.54
#661F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#661F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661F96
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661F96 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 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: #661f96; /* rgb */ color: rgb(102, 31, 150); /* oklch */ color: oklch(41.5% 0.181 307.0);
Tailwind
colors: {
custom: {
50: '#9763b6',
500: '#661f96',
950: '#000000',
},
}SCSS
$custom: #661f96; $custom-light: #9763b6; $custom-dark: #000000;
JSON
{
"hex": "#661f96",
"rgb": {
"r": 102,
"g": 31,
"b": 150
},
"hsl": {
"h": 275.798,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.41488,
"c": 0.1815,
"h": 307
},
"luminance": 0.06007
}Semantic roles & 50–950 ramp
primary
#661F96
secondary
#7EBF52
accent
#E93F84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80