#661F92#661F92
#661F92 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.178 H 308.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #661F92 |
|---|---|
| RGB | rgb(102, 31, 146) |
| HSL | hsl(277, 65%, 35%) |
| HSV | hsv(277, 79%, 57%) |
| CMYK | cmyk(30.1%, 78.8%, 0%, 42.7%) |
| CIE-LAB | lab(29.11, 50.38, -49.01) |
| CIE-LCH | lch(29.11, 70.29, 315.79°) |
| OKLab | oklab(41.16% 0.1102 -0.1392) |
| OKLCH | oklch(41.16% 0.178 308.4) |
| XYZ | xyz(11.1567, 5.8803, 27.7358) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.98
Purple (survey)
#7E1E9C
ΔE00 4.47
Indigo
#4B0082
ΔE00 6.47
Purple
#800080
ΔE00 7.20
Darkmagenta
#8B008B
ΔE00 7.78
Darkish Purple
#751973
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661F92 #4B921F
analogous
#2C1F92 #661F92 #921F85
triadic
#661F92 #92661F #1F9266
tetradic
#661F92 #922C1F #4B921F #1F8592
square
#661F92 #922C1F #4B921F #1F8592
split-complementary
#661F92 #85921F #1F922C
monochromatic
#1F0A2D #431460 #661F92 #892AC4 #A651DA
Accessibility & contrast
On white
9.65
#661F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#661F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661F92
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661F92 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#5F3C58
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #661f92; /* rgb */ color: rgb(102, 31, 146); /* oklch */ color: oklch(41.2% 0.178 308.4);
Tailwind
colors: {
custom: {
50: '#9663b3',
500: '#661f92',
950: '#000000',
},
}SCSS
$custom: #661f92; $custom-light: #9663b3; $custom-dark: #000000;
JSON
{
"hex": "#661f92",
"rgb": {
"r": 102,
"g": 31,
"b": 146
},
"hsl": {
"h": 277.043,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.41162,
"c": 0.17757,
"h": 308.4
},
"luminance": 0.0588
}Semantic roles & 50–950 ramp
primary
#661F92
secondary
#7ABD50
accent
#E84080
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80