#661D9F#661D9F
#661D9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.192 H 304.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #661D9F |
|---|---|
| RGB | rgb(102, 29, 159) |
| HSL | hsl(274, 69%, 37%) |
| HSV | hsv(274, 82%, 62%) |
| CMYK | cmyk(35.8%, 81.8%, 0%, 37.6%) |
| CIE-LAB | lab(29.93, 54.08, -55.63) |
| CIE-LCH | lch(29.93, 77.59, 314.19°) |
| OKLab | oklab(42.07% 0.1085 -0.1587) |
| OKLCH | oklch(42.07% 0.192 304.4) |
| XYZ | xyz(12.1754, 6.2068, 33.3508) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.15
Purple (survey)
#7E1E9C
ΔE00 4.85
Violet Blue
#510AC9
ΔE00 6.82
Indigo
#4B0082
ΔE00 6.96
Purple Blue
#5D21D0
ΔE00 7.18
Indigo Blue
#3A18B1
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661D9F #569F1D
analogous
#251D9F #661D9F #9F1D97
triadic
#661D9F #9F661D #1D9F66
tetradic
#661D9F #9F251D #569F1D #1D979F
square
#661D9F #9F251D #569F1D #1D979F
split-complementary
#661D9F #979F1D #1D9F25
monochromatic
#240A37 #45146B #661D9F #8726D3 #A456E0
Accessibility & contrast
On white
9.37
#661D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#661D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661D9F
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661D9F | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5B415F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #661d9f; /* rgb */ color: rgb(102, 29, 159); /* oklch */ color: oklch(42.1% 0.192 304.4);
Tailwind
colors: {
custom: {
50: '#9863bc',
500: '#661d9f',
950: '#000000',
},
}SCSS
$custom: #661d9f; $custom-light: #9863bc; $custom-dark: #000000;
JSON
{
"hex": "#661d9f",
"rgb": {
"r": 102,
"g": 29,
"b": 159
},
"hsl": {
"h": 273.692,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.42069,
"c": 0.19219,
"h": 304.4
},
"luminance": 0.06207
}Semantic roles & 50–950 ramp
primary
#661D9F
secondary
#85C454
accent
#EC3C89
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81