#661EB3#661EB3
#661EB3 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.211 H 298.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #661EB3 |
|---|---|
| RGB | rgb(102, 30, 179) |
| HSL | hsl(269, 71%, 41%) |
| HSV | hsv(269, 83%, 70%) |
| CMYK | cmyk(43%, 83.2%, 0%, 29.8%) |
| CIE-LAB | lab(31.82, 58.41, -64.56) |
| CIE-LCH | lch(31.82, 87.06, 312.14°) |
| OKLab | oklab(43.93% 0.1014 -0.1849) |
| OKLCH | oklch(43.93% 0.211 298.7) |
| XYZ | xyz(14.0783, 7.0078, 43.2500) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.22
Violet Blue
#510AC9
ΔE00 4.49
Rebeccapurple
#663399
ΔE00 5.39
Indigo Blue
#3A18B1
ΔE00 6.27
Purple (survey)
#7E1E9C
ΔE00 6.36
Blue Violet
#5D06E9
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661EB3 #6BB31E
analogous
#1E21B3 #661EB3 #B01EB3
triadic
#661EB3 #B3661E #1EB366
tetradic
#661EB3 #B31E21 #6BB31E #1EB3B0
square
#661EB3 #B31E21 #6BB31E #1EB3B0
split-complementary
#661EB3 #B3B01E #21B31E
monochromatic
#2A0C4A #48157F #661EB3 #8432DD #A466E5
Accessibility & contrast
On white
8.74
#661EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#661EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661EB3
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661EB3 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#524A6B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #661eb3; /* rgb */ color: rgb(102, 30, 179); /* oklch */ color: oklch(43.9% 0.211 298.7);
Tailwind
colors: {
custom: {
50: '#9a65cb',
500: '#661eb3',
950: '#000000',
},
}SCSS
$custom: #661eb3; $custom-light: #9a65cb; $custom-dark: #000000;
JSON
{
"hex": "#661eb3",
"rgb": {
"r": 102,
"g": 30,
"b": 179
},
"hsl": {
"h": 268.993,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.43928,
"c": 0.21083,
"h": 298.7
},
"luminance": 0.07008
}Semantic roles & 50–950 ramp
primary
#661EB3
secondary
#98CB62
accent
#EE3A97
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82