#661C9A#661C9A
#661C9A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.188 H 306.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #661C9A |
|---|---|
| RGB | rgb(102, 28, 154) |
| HSL | hsl(275, 69%, 36%) |
| HSV | hsv(275, 82%, 60%) |
| CMYK | cmyk(33.8%, 81.8%, 0%, 39.6%) |
| CIE-LAB | lab(29.38, 53.29, -53.47) |
| CIE-LCH | lch(29.38, 75.49, 314.90°) |
| OKLab | oklab(41.56% 0.1107 -0.1523) |
| OKLCH | oklch(41.56% 0.188 306) |
| XYZ | xyz(11.7262, 5.9885, 31.1037) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.21
Purple (survey)
#7E1E9C
ΔE00 4.67
Indigo
#4B0082
ΔE00 6.53
Violet Blue
#510AC9
ΔE00 7.51
Indigo Blue
#3A18B1
ΔE00 7.71
Purple Blue
#5D21D0
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661C9A #509A1C
analogous
#271C9A #661C9A #9A1C8F
triadic
#661C9A #9A661C #1C9A66
tetradic
#661C9A #9A271C #509A1C #1C8F9A
square
#661C9A #9A271C #509A1C #1C8F9A
split-complementary
#661C9A #8F9A1C #1C9A27
monochromatic
#210932 #441366 #661C9A #8825CE #A551DF
Accessibility & contrast
On white
9.56
#661C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#661C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661C9A
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661C9A | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#5C3E5C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #661c9a; /* rgb */ color: rgb(102, 28, 154); /* oklch */ color: oklch(41.6% 0.188 306.0);
Tailwind
colors: {
custom: {
50: '#9762b9',
500: '#661c9a',
950: '#000000',
},
}SCSS
$custom: #661c9a; $custom-light: #9762b9; $custom-dark: #000000;
JSON
{
"hex": "#661c9a",
"rgb": {
"r": 102,
"g": 28,
"b": 154
},
"hsl": {
"h": 275.238,
"s": 69.231,
"l": 35.686
},
"oklch": {
"l": 0.41558,
"c": 0.18828,
"h": 306
},
"luminance": 0.05988
}Semantic roles & 50–950 ramp
primary
#661C9A
secondary
#7FC250
accent
#EC3C85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80