#661B99#661B99
#661B99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.188 H 306.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #661B99 |
|---|---|
| RGB | rgb(102, 27, 153) |
| HSL | hsl(276, 70%, 35%) |
| HSV | hsv(276, 82%, 60%) |
| CMYK | cmyk(33.3%, 82.4%, 0%, 40%) |
| CIE-LAB | lab(29.18, 53.41, -53.19) |
| CIE-LCH | lch(29.18, 75.38, 315.12°) |
| OKLab | oklab(41.39% 0.1117 -0.1515) |
| OKLCH | oklch(41.39% 0.188 306.4) |
| XYZ | xyz(11.6199, 5.9087, 30.6592) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.35
Purple (survey)
#7E1E9C
ΔE00 4.68
Indigo
#4B0082
ΔE00 6.39
Violet Blue
#510AC9
ΔE00 7.64
Indigo Blue
#3A18B1
ΔE00 7.80
Purple
#800080
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661B99 #4E991B
analogous
#271B99 #661B99 #991B8D
triadic
#661B99 #99661B #1B9966
tetradic
#661B99 #99271B #4E991B #1B8D99
square
#661B99 #99271B #4E991B #1B8D99
split-complementary
#661B99 #8D991B #1B9927
monochromatic
#210931 #431265 #661B99 #8924CD #A54FE0
Accessibility & contrast
On white
9.63
#661B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#661B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661B99
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661B99 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#5D3D5B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #661b99; /* rgb */ color: rgb(102, 27, 153); /* oklch */ color: oklch(41.4% 0.188 306.4);
Tailwind
colors: {
custom: {
50: '#9762b8',
500: '#661b99',
950: '#000000',
},
}SCSS
$custom: #661b99; $custom-light: #9762b8; $custom-dark: #000000;
JSON
{
"hex": "#661b99",
"rgb": {
"r": 102,
"g": 27,
"b": 153
},
"hsl": {
"h": 275.714,
"s": 70,
"l": 35.294
},
"oklch": {
"l": 0.41391,
"c": 0.18821,
"h": 306.4
},
"luminance": 0.05909
}Semantic roles & 50–950 ramp
primary
#661B99
secondary
#7DC24E
accent
#ED3B83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80