#661AB1#661AB1
#661AB1 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.4% C 0.212 H 299.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #661AB1 |
|---|---|
| RGB | rgb(102, 26, 177) |
| HSL | hsl(270, 74%, 40%) |
| HSV | hsv(270, 85%, 69%) |
| CMYK | cmyk(42.4%, 85.3%, 0%, 30.6%) |
| CIE-LAB | lab(31.20, 59.23, -64.39) |
| CIE-LCH | lch(31.20, 87.49, 312.61°) |
| OKLab | oklab(43.44% 0.1046 -0.1843) |
| OKLCH | oklch(43.44% 0.212 299.6) |
| XYZ | xyz(13.7827, 6.7377, 42.1608) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Violet Blue
#510AC9
ΔE00 4.51
Purple Blue
#5D21D0
ΔE00 4.63
Rebeccapurple
#663399
ΔE00 5.54
Indigo Blue
#3A18B1
ΔE00 6.18
Purple (survey)
#7E1E9C
ΔE00 6.23
Blue Violet
#5D06E9
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661AB1 #65B11A
analogous
#1B1AB1 #661AB1 #B11AB0
triadic
#661AB1 #B1661A #1AB166
tetradic
#661AB1 #B11B1A #65B11A #1AB0B1
square
#661AB1 #B11B1A #65B11A #1AB0B1
split-complementary
#661AB1 #B0B11A #1AB11B
monochromatic
#280A46 #47127C #661AB1 #8529E0 #A35EE7
Accessibility & contrast
On white
8.95
#661AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#661AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661AB1
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661AB1 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#534869
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #661ab1; /* rgb */ color: rgb(102, 26, 177); /* oklch */ color: oklch(43.4% 0.212 299.6);
Tailwind
colors: {
custom: {
50: '#9a63c9',
500: '#661ab1',
950: '#000000',
},
}SCSS
$custom: #661ab1; $custom-light: #9a63c9; $custom-dark: #000000;
JSON
{
"hex": "#661ab1",
"rgb": {
"r": 102,
"g": 26,
"b": 177
},
"hsl": {
"h": 270.199,
"s": 74.384,
"l": 39.804
},
"oklch": {
"l": 0.43443,
"c": 0.21192,
"h": 299.6
},
"luminance": 0.06738
}Semantic roles & 50–950 ramp
primary
#661AB1
secondary
#93CB5B
accent
#F13793
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82