#661E9A#661E9A
#661E9A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.186 H 305.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #661E9A |
|---|---|
| RGB | rgb(102, 30, 154) |
| HSL | hsl(275, 67%, 36%) |
| HSV | hsv(275, 81%, 60%) |
| CMYK | cmyk(33.8%, 80.5%, 0%, 39.6%) |
| CIE-LAB | lab(29.63, 52.58, -53.07) |
| CIE-LCH | lch(29.63, 74.70, 314.73°) |
| OKLab | oklab(41.73% 0.1091 -0.1511) |
| OKLCH | oklch(41.73% 0.186 305.8) |
| XYZ | xyz(11.7752, 6.0865, 31.1201) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.93
Purple (survey)
#7E1E9C
ΔE00 4.61
Indigo
#4B0082
ΔE00 6.71
Violet Blue
#510AC9
ΔE00 7.57
Indigo Blue
#3A18B1
ΔE00 7.77
Purple Blue
#5D21D0
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661E9A #529A1E
analogous
#281E9A #661E9A #9A1E90
triadic
#661E9A #9A661E #1E9A66
tetradic
#661E9A #9A281E #529A1E #1E909A
square
#661E9A #9A281E #529A1E #1E909A
split-complementary
#661E9A #909A1E #1E9A28
monochromatic
#220A34 #441467 #661E9A #8828CD #A455DE
Accessibility & contrast
On white
9.47
#661E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#661E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661E9A
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661E9A | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#5C3F5C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #661e9a; /* rgb */ color: rgb(102, 30, 154); /* oklch */ color: oklch(41.7% 0.186 305.8);
Tailwind
colors: {
custom: {
50: '#9763b9',
500: '#661e9a',
950: '#000000',
},
}SCSS
$custom: #661e9a; $custom-light: #9763b9; $custom-dark: #000000;
JSON
{
"hex": "#661e9a",
"rgb": {
"r": 102,
"g": 30,
"b": 154
},
"hsl": {
"h": 274.839,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.4173,
"c": 0.1864,
"h": 305.8
},
"luminance": 0.06086
}Semantic roles & 50–950 ramp
primary
#661E9A
secondary
#81C153
accent
#EA3E86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80