#661F9C#661F9C
#661F9C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.187 H 305.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #661F9C |
|---|---|
| RGB | rgb(102, 31, 156) |
| HSL | hsl(274, 67%, 37%) |
| HSV | hsv(274, 80%, 61%) |
| CMYK | cmyk(34.6%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(29.92, 52.67, -53.81) |
| CIE-LCH | lch(29.92, 75.30, 314.38°) |
| OKLab | oklab(41.99% 0.1077 -0.1533) |
| OKLCH | oklch(41.99% 0.187 305.1) |
| XYZ | xyz(11.9689, 6.2051, 32.0132) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.81
Purple (survey)
#7E1E9C
ΔE00 4.66
Indigo
#4B0082
ΔE00 6.93
Violet Blue
#510AC9
ΔE00 7.31
Indigo Blue
#3A18B1
ΔE00 7.60
Purple Blue
#5D21D0
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661F9C #559C1F
analogous
#281F9C #661F9C #9C1F94
triadic
#661F9C #9C661F #1F9C66
tetradic
#661F9C #9C281F #559C1F #1F949C
square
#661F9C #9C281F #559C1F #1F949C
split-complementary
#661F9C #949C1F #1F9C28
monochromatic
#230B36 #451569 #661F9C #8729CF #A458DE
Accessibility & contrast
On white
9.37
#661F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#661F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661F9C
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661F9C | 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)
#00459F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#5C405E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #661f9c; /* rgb */ color: rgb(102, 31, 156); /* oklch */ color: oklch(42.0% 0.187 305.1);
Tailwind
colors: {
custom: {
50: '#9764ba',
500: '#661f9c',
950: '#000000',
},
}SCSS
$custom: #661f9c; $custom-light: #9764ba; $custom-dark: #000000;
JSON
{
"hex": "#661f9c",
"rgb": {
"r": 102,
"g": 31,
"b": 156
},
"hsl": {
"h": 274.08,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.41987,
"c": 0.18739,
"h": 305.1
},
"luminance": 0.06205
}Semantic roles & 50–950 ramp
primary
#661F9C
secondary
#84C155
accent
#EA3E88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81