#661C98#661C98
#661C98 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.186 H 306.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #661C98 |
|---|---|
| RGB | rgb(102, 28, 152) |
| HSL | hsl(276, 69%, 35%) |
| HSV | hsv(276, 82%, 60%) |
| CMYK | cmyk(32.9%, 81.6%, 0%, 40.4%) |
| CIE-LAB | lab(29.22, 52.84, -52.52) |
| CIE-LCH | lch(29.22, 74.50, 315.17°) |
| OKLab | oklab(41.39% 0.1112 -0.1495) |
| OKLCH | oklch(41.39% 0.186 306.6) |
| XYZ | xyz(11.5610, 5.9224, 30.2338) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.22
Purple (survey)
#7E1E9C
ΔE00 4.61
Indigo
#4B0082
ΔE00 6.42
Purple
#800080
ΔE00 7.81
Violet Blue
#510AC9
ΔE00 7.81
Indigo Blue
#3A18B1
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661C98 #4E981C
analogous
#281C98 #661C98 #981C8C
triadic
#661C98 #98661C #1C9866
tetradic
#661C98 #98281C #4E981C #1C8C98
square
#661C98 #98281C #4E981C #1C8C98
split-complementary
#661C98 #8C981C #1C9828
monochromatic
#210931 #431264 #661C98 #8926CC #A550DF
Accessibility & contrast
On white
9.61
#661C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#661C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661C98
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661C98 | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#5D3D5B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #661c98; /* rgb */ color: rgb(102, 28, 152); /* oklch */ color: oklch(41.4% 0.186 306.6);
Tailwind
colors: {
custom: {
50: '#9762b7',
500: '#661c98',
950: '#000000',
},
}SCSS
$custom: #661c98; $custom-light: #9762b7; $custom-dark: #000000;
JSON
{
"hex": "#661c98",
"rgb": {
"r": 102,
"g": 28,
"b": 152
},
"hsl": {
"h": 275.806,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.41389,
"c": 0.18635,
"h": 306.6
},
"luminance": 0.05922
}Semantic roles & 50–950 ramp
primary
#661C98
secondary
#7DC14E
accent
#EC3C83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80