#661AB4#661AB4
#661AB4 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.215 H 298.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #661AB4 |
|---|---|
| RGB | rgb(102, 26, 180) |
| HSL | hsl(270, 75%, 40%) |
| HSV | hsv(270, 86%, 71%) |
| CMYK | cmyk(43.3%, 85.6%, 0%, 29.4%) |
| CIE-LAB | lab(31.48, 59.92, -65.72) |
| CIE-LCH | lch(31.48, 88.94, 312.36°) |
| OKLab | oklab(43.72% 0.1035 -0.1882) |
| OKLCH | oklch(43.72% 0.215 298.8) |
| XYZ | xyz(14.0850, 6.8586, 43.7529) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.22
Violet Blue
#510AC9
ΔE00 4.22
Rebeccapurple
#663399
ΔE00 5.79
Indigo Blue
#3A18B1
ΔE00 6.14
Purple (survey)
#7E1E9C
ΔE00 6.49
Blue Violet
#5D06E9
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661AB4 #68B41A
analogous
#1A1BB4 #661AB4 #B31AB4
triadic
#661AB4 #B4661A #1AB466
tetradic
#661AB4 #B41A1B #68B41A #1AB4B3
square
#661AB4 #B41A1B #68B41A #1AB4B3
split-complementary
#661AB4 #B4B31A #1BB41A
monochromatic
#290B49 #48127F #661AB4 #842BE0 #A360E8
Accessibility & contrast
On white
8.85
#661AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#661AB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661AB4
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661AB4 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#52496B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #661ab4; /* rgb */ color: rgb(102, 26, 180); /* oklch */ color: oklch(43.7% 0.215 298.8);
Tailwind
colors: {
custom: {
50: '#9a63cc',
500: '#661ab4',
950: '#000000',
},
}SCSS
$custom: #661ab4; $custom-light: #9a63cc; $custom-dark: #000000;
JSON
{
"hex": "#661ab4",
"rgb": {
"r": 102,
"g": 26,
"b": 180
},
"hsl": {
"h": 269.61,
"s": 74.757,
"l": 40.392
},
"oklch": {
"l": 0.43721,
"c": 0.21478,
"h": 298.8
},
"luminance": 0.06859
}Semantic roles & 50–950 ramp
primary
#661AB4
secondary
#96CC5D
accent
#F13695
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82