#661E9E#661E9E
#661E9E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.190 H 304.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #661E9E |
|---|---|
| RGB | rgb(102, 30, 158) |
| HSL | hsl(274, 68%, 37%) |
| HSV | hsv(274, 81%, 62%) |
| CMYK | cmyk(35.4%, 81%, 0%, 38%) |
| CIE-LAB | lab(29.97, 53.50, -54.96) |
| CIE-LCH | lch(29.97, 76.70, 314.23°) |
| OKLab | oklab(42.07% 0.108 -0.1567) |
| OKLCH | oklch(42.07% 0.19 304.6) |
| XYZ | xyz(12.1139, 6.2220, 32.9039) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.99
Purple (survey)
#7E1E9C
ΔE00 4.78
Indigo
#4B0082
ΔE00 6.97
Violet Blue
#510AC9
ΔE00 6.99
Purple Blue
#5D21D0
ΔE00 7.32
Indigo Blue
#3A18B1
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661E9E #569E1E
analogous
#261E9E #661E9E #9E1E96
triadic
#661E9E #9E661E #1E9E66
tetradic
#661E9E #9E261E #569E1E #1E969E
square
#661E9E #9E261E #569E1E #1E969E
split-complementary
#661E9E #969E1E #1E9E26
monochromatic
#240A37 #45146B #661E9E #8728D1 #A457DF
Accessibility & contrast
On white
9.36
#661E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#661E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661E9E
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661E9E | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#5B415F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #661e9e; /* rgb */ color: rgb(102, 30, 158); /* oklch */ color: oklch(42.1% 0.190 304.6);
Tailwind
colors: {
custom: {
50: '#9763bc',
500: '#661e9e',
950: '#000000',
},
}SCSS
$custom: #661e9e; $custom-light: #9763bc; $custom-dark: #000000;
JSON
{
"hex": "#661e9e",
"rgb": {
"r": 102,
"g": 30,
"b": 158
},
"hsl": {
"h": 273.75,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.42068,
"c": 0.19031,
"h": 304.6
},
"luminance": 0.06222
}Semantic roles & 50–950 ramp
primary
#661E9E
secondary
#85C355
accent
#EB3D89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81