#661C9F#661C9F
#661C9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.193 H 304.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #661C9F |
|---|---|
| RGB | rgb(102, 28, 159) |
| HSL | hsl(274, 70%, 37%) |
| HSV | hsv(274, 82%, 62%) |
| CMYK | cmyk(35.8%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(29.81, 54.43, -55.83) |
| CIE-LCH | lch(29.81, 77.97, 314.28°) |
| OKLab | oklab(41.99% 0.1092 -0.1592) |
| OKLCH | oklch(41.99% 0.193 304.4) |
| XYZ | xyz(12.1513, 6.1585, 33.3427) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.28
Purple (survey)
#7E1E9C
ΔE00 4.88
Violet Blue
#510AC9
ΔE00 6.79
Indigo
#4B0082
ΔE00 6.88
Purple Blue
#5D21D0
ΔE00 7.21
Indigo Blue
#3A18B1
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661C9F #559F1C
analogous
#251C9F #661C9F #9F1C97
triadic
#661C9F #9F661C #1C9F66
tetradic
#661C9F #9F251C #559F1C #1C979F
square
#661C9F #9F251C #559F1C #1C979F
split-complementary
#661C9F #979F1C #1C9F25
monochromatic
#230A37 #45136B #661C9F #8725D3 #A454E1
Accessibility & contrast
On white
9.41
#661C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#661C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661C9F
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661C9F | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5B405F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #661c9f; /* rgb */ color: rgb(102, 28, 159); /* oklch */ color: oklch(42.0% 0.193 304.4);
Tailwind
colors: {
custom: {
50: '#9863bc',
500: '#661c9f',
950: '#000000',
},
}SCSS
$custom: #661c9f; $custom-light: #9863bc; $custom-dark: #000000;
JSON
{
"hex": "#661c9f",
"rgb": {
"r": 102,
"g": 28,
"b": 159
},
"hsl": {
"h": 273.893,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.41986,
"c": 0.19308,
"h": 304.4
},
"luminance": 0.06158
}Semantic roles & 50–950 ramp
primary
#661C9F
secondary
#84C453
accent
#ED3B88
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81