#661F99#661F99
#661F99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.184 H 306.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #661F99 |
|---|---|
| RGB | rgb(102, 31, 153) |
| HSL | hsl(275, 66%, 36%) |
| HSV | hsv(275, 80%, 60%) |
| CMYK | cmyk(33.3%, 79.7%, 0%, 40%) |
| CIE-LAB | lab(29.68, 51.98, -52.38) |
| CIE-LCH | lch(29.68, 73.79, 314.78°) |
| OKLab | oklab(41.74% 0.1085 -0.1491) |
| OKLCH | oklch(41.74% 0.184 306) |
| XYZ | xyz(11.7180, 6.1048, 30.6918) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.79
Purple (survey)
#7E1E9C
ΔE00 4.55
Indigo
#4B0082
ΔE00 6.75
Violet Blue
#510AC9
ΔE00 7.76
Indigo Blue
#3A18B1
ΔE00 7.91
Purple
#800080
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661F99 #52991F
analogous
#291F99 #661F99 #991F8F
triadic
#661F99 #99661F #1F9966
tetradic
#661F99 #99291F #52991F #1F8F99
square
#661F99 #99291F #52991F #1F8F99
split-complementary
#661F99 #8F991F #1F9929
monochromatic
#220A33 #441566 #661F99 #8829CC #A456DD
Accessibility & contrast
On white
9.46
#661F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#661F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661F99
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661F99 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#5D3F5C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #661f99; /* rgb */ color: rgb(102, 31, 153); /* oklch */ color: oklch(41.7% 0.184 306.0);
Tailwind
colors: {
custom: {
50: '#9764b8',
500: '#661f99',
950: '#000000',
},
}SCSS
$custom: #661f99; $custom-light: #9764b8; $custom-dark: #000000;
JSON
{
"hex": "#661f99",
"rgb": {
"r": 102,
"g": 31,
"b": 153
},
"hsl": {
"h": 274.918,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.41736,
"c": 0.18444,
"h": 306
},
"luminance": 0.06105
}Semantic roles & 50–950 ramp
primary
#661F99
secondary
#81C054
accent
#E93F86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80