#661B9F#661B9F
#661B9F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.194 H 304.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #661B9F |
|---|---|
| RGB | rgb(102, 27, 159) |
| HSL | hsl(274, 71%, 36%) |
| HSV | hsv(274, 83%, 62%) |
| CMYK | cmyk(35.8%, 83%, 0%, 37.6%) |
| CIE-LAB | lab(29.69, 54.77, -56.01) |
| CIE-LCH | lch(29.69, 78.34, 314.36°) |
| OKLab | oklab(41.91% 0.11 -0.1598) |
| OKLCH | oklch(41.91% 0.194 304.5) |
| XYZ | xyz(12.1280, 6.1119, 33.3350) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.41
Purple (survey)
#7E1E9C
ΔE00 4.91
Violet Blue
#510AC9
ΔE00 6.76
Indigo
#4B0082
ΔE00 6.81
Indigo Blue
#3A18B1
ΔE00 7.20
Purple Blue
#5D21D0
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661B9F #549F1B
analogous
#241B9F #661B9F #9F1B96
triadic
#661B9F #9F661B #1B9F66
tetradic
#661B9F #9F241B #549F1B #1B969F
square
#661B9F #9F241B #549F1B #1B969F
split-complementary
#661B9F #969F1B #1B9F24
monochromatic
#230936 #44126B #661B9F #8824D3 #A453E2
Accessibility & contrast
On white
9.45
#661B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#661B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661B9F
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661B9F | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5B405F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #661b9f; /* rgb */ color: rgb(102, 27, 159); /* oklch */ color: oklch(41.9% 0.194 304.5);
Tailwind
colors: {
custom: {
50: '#9862bc',
500: '#661b9f',
950: '#000000',
},
}SCSS
$custom: #661b9f; $custom-light: #9862bc; $custom-dark: #000000;
JSON
{
"hex": "#661b9f",
"rgb": {
"r": 102,
"g": 27,
"b": 159
},
"hsl": {
"h": 274.091,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.41905,
"c": 0.19395,
"h": 304.5
},
"luminance": 0.06112
}Semantic roles & 50–950 ramp
primary
#661B9F
secondary
#83C551
accent
#EE3A88
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81