#661E98#661E98
#661E98 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.184 H 306.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #661E98 |
|---|---|
| RGB | rgb(102, 30, 152) |
| HSL | hsl(275, 67%, 36%) |
| HSV | hsv(275, 80%, 60%) |
| CMYK | cmyk(32.9%, 80.3%, 0%, 40.4%) |
| CIE-LAB | lab(29.46, 52.12, -52.12) |
| CIE-LCH | lch(29.46, 73.71, 315.00°) |
| OKLab | oklab(41.56% 0.1096 -0.1483) |
| OKLCH | oklch(41.56% 0.184 306.5) |
| XYZ | xyz(11.6100, 6.0204, 30.2501) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.94
Purple (survey)
#7E1E9C
ΔE00 4.55
Indigo
#4B0082
ΔE00 6.60
Purple
#800080
ΔE00 7.86
Violet Blue
#510AC9
ΔE00 7.87
Indigo Blue
#3A18B1
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661E98 #50981E
analogous
#291E98 #661E98 #981E8D
triadic
#661E98 #98661E #1E9866
tetradic
#661E98 #98291E #50981E #1E8D98
square
#661E98 #98291E #50981E #1E8D98
split-complementary
#661E98 #8D981E #1E9829
monochromatic
#210A32 #441465 #661E98 #8828CB #A553DD
Accessibility & contrast
On white
9.53
#661E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#661E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661E98
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661E98 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#5D3E5B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #661e98; /* rgb */ color: rgb(102, 30, 152); /* oklch */ color: oklch(41.6% 0.184 306.5);
Tailwind
colors: {
custom: {
50: '#9763b7',
500: '#661e98',
950: '#000000',
},
}SCSS
$custom: #661e98; $custom-light: #9763b7; $custom-dark: #000000;
JSON
{
"hex": "#661e98",
"rgb": {
"r": 102,
"g": 30,
"b": 152
},
"hsl": {
"h": 275.41,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.41563,
"c": 0.18445,
"h": 306.5
},
"luminance": 0.0602
}Semantic roles & 50–950 ramp
primary
#661E98
secondary
#7FC051
accent
#EA3E84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80