#661799#661799
#661799 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.1% C 0.192 H 306.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #661799 |
|---|---|
| RGB | rgb(102, 23, 153) |
| HSL | hsl(276, 74%, 35%) |
| HSV | hsv(276, 85%, 60%) |
| CMYK | cmyk(33.3%, 85%, 0%, 40%) |
| CIE-LAB | lab(28.74, 54.70, -53.91) |
| CIE-LCH | lch(28.74, 76.80, 315.42°) |
| OKLab | oklab(41.09% 0.1146 -0.1535) |
| OKLCH | oklch(41.09% 0.192 306.7) |
| XYZ | xyz(11.5344, 5.7376, 30.6306) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.84
Rebeccapurple
#663399
ΔE00 4.84
Indigo
#4B0082
ΔE00 6.10
Violet Blue
#510AC9
ΔE00 7.56
Indigo Blue
#3A18B1
ΔE00 7.73
Purple
#800080
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661799 #4A9917
analogous
#251799 #661799 #99178B
triadic
#661799 #996617 #179966
tetradic
#661799 #992517 #4A9917 #178B99
square
#661799 #992517 #4A9917 #178B99
split-complementary
#661799 #8B9917 #179925
monochromatic
#1F072F #430F64 #661799 #891FCE #A647E3
Accessibility & contrast
On white
9.78
#661799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#661799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661799
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661799 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#5D3C5A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #661799; /* rgb */ color: rgb(102, 23, 153); /* oklch */ color: oklch(41.1% 0.192 306.7);
Tailwind
colors: {
custom: {
50: '#9760b8',
500: '#661799',
950: '#000000',
},
}SCSS
$custom: #661799; $custom-light: #9760b8; $custom-dark: #000000;
JSON
{
"hex": "#661799",
"rgb": {
"r": 102,
"g": 23,
"b": 153
},
"hsl": {
"h": 276.462,
"s": 73.864,
"l": 34.51
},
"oklch": {
"l": 0.41085,
"c": 0.19159,
"h": 306.7
},
"luminance": 0.05737
}Semantic roles & 50–950 ramp
primary
#661799
secondary
#78C547
accent
#F13780
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80