#661F98#661F98
#661F98 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.183 H 306.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #661F98 |
|---|---|
| RGB | rgb(102, 31, 152) |
| HSL | hsl(275, 66%, 36%) |
| HSV | hsv(275, 80%, 60%) |
| CMYK | cmyk(32.9%, 79.6%, 0%, 40.4%) |
| CIE-LAB | lab(29.59, 51.75, -51.91) |
| CIE-LCH | lch(29.59, 73.29, 314.91°) |
| OKLab | oklab(41.65% 0.1088 -0.1477) |
| OKLCH | oklch(41.65% 0.183 306.4) |
| XYZ | xyz(11.6357, 6.0719, 30.2587) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.80
Purple (survey)
#7E1E9C
ΔE00 4.52
Indigo
#4B0082
ΔE00 6.69
Purple
#800080
ΔE00 7.89
Violet Blue
#510AC9
ΔE00 7.91
Indigo Blue
#3A18B1
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661F98 #51981F
analogous
#2A1F98 #661F98 #981F8D
triadic
#661F98 #98661F #1F9866
tetradic
#661F98 #982A1F #51981F #1F8D98
square
#661F98 #982A1F #51981F #1F8D98
split-complementary
#661F98 #8D981F #1F982A
monochromatic
#220A32 #441565 #661F98 #8829CB #A455DC
Accessibility & contrast
On white
9.48
#661F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#661F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661F98
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661F98 | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#5D3E5B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #661f98; /* rgb */ color: rgb(102, 31, 152); /* oklch */ color: oklch(41.7% 0.183 306.4);
Tailwind
colors: {
custom: {
50: '#9764b7',
500: '#661f98',
950: '#000000',
},
}SCSS
$custom: #661f98; $custom-light: #9764b7; $custom-dark: #000000;
JSON
{
"hex": "#661f98",
"rgb": {
"r": 102,
"g": 31,
"b": 152
},
"hsl": {
"h": 275.207,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.41653,
"c": 0.18347,
"h": 306.4
},
"luminance": 0.06072
}Semantic roles & 50–950 ramp
primary
#661F98
secondary
#80C053
accent
#E93F85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80