#661AA1#661AA1
#661AA1 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 42.0% C 0.197 H 304.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #661AA1 |
|---|---|
| RGB | rgb(102, 26, 161) |
| HSL | hsl(274, 72%, 37%) |
| HSV | hsv(274, 84%, 63%) |
| CMYK | cmyk(36.6%, 83.9%, 0%, 36.9%) |
| CIE-LAB | lab(29.75, 55.55, -57.13) |
| CIE-LCH | lch(29.75, 79.68, 314.20°) |
| OKLab | oklab(42% 0.11 -0.163) |
| OKLCH | oklch(42% 0.197 304) |
| XYZ | xyz(12.2804, 6.1368, 34.2489) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.59
Purple (survey)
#7E1E9C
ΔE00 5.05
Violet Blue
#510AC9
ΔE00 6.46
Indigo
#4B0082
ΔE00 6.90
Purple Blue
#5D21D0
ΔE00 6.95
Indigo Blue
#3A18B1
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661AA1 #55A11A
analogous
#231AA1 #661AA1 #A11A99
triadic
#661AA1 #A1661A #1AA166
tetradic
#661AA1 #A1231A #55A11A #1A99A1
square
#661AA1 #A1231A #55A11A #1A99A1
split-complementary
#661AA1 #99A11A #1AA123
monochromatic
#230938 #45116C #661AA1 #8723D6 #A452E3
Accessibility & contrast
On white
9.43
#661AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#661AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661AA1
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661AA1 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#5A4060
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #661aa1; /* rgb */ color: rgb(102, 26, 161); /* oklch */ color: oklch(42.0% 0.197 304.0);
Tailwind
colors: {
custom: {
50: '#9862be',
500: '#661aa1',
950: '#000000',
},
}SCSS
$custom: #661aa1; $custom-light: #9862be; $custom-dark: #000000;
JSON
{
"hex": "#661aa1",
"rgb": {
"r": 102,
"g": 26,
"b": 161
},
"hsl": {
"h": 273.778,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.42002,
"c": 0.19668,
"h": 304
},
"luminance": 0.06137
}Semantic roles & 50–950 ramp
primary
#661AA1
secondary
#84C651
accent
#EF3988
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81