#661F90#661F90
#661F90 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.176 H 309.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #661F90 |
|---|---|
| RGB | rgb(102, 31, 144) |
| HSL | hsl(278, 65%, 34%) |
| HSV | hsv(278, 78%, 56%) |
| CMYK | cmyk(29.2%, 78.5%, 0%, 43.5%) |
| CIE-LAB | lab(28.95, 49.93, -48.03) |
| CIE-LCH | lch(28.95, 69.28, 316.11°) |
| OKLab | oklab(41% 0.1107 -0.1363) |
| OKLCH | oklch(41% 0.176 309.1) |
| XYZ | xyz(11.0025, 5.8186, 26.9236) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.10
Purple (survey)
#7E1E9C
ΔE00 4.50
Indigo
#4B0082
ΔE00 6.44
Purple
#800080
ΔE00 6.98
Darkish Purple
#751973
ΔE00 7.52
Darkmagenta
#8B008B
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#661F90 #49901F
analogous
#2E1F90 #661F90 #901F82
triadic
#661F90 #90661F #1F9066
tetradic
#661F90 #902E1F #49901F #1F8290
square
#661F90 #902E1F #49901F #1F8290
split-complementary
#661F90 #82901F #1F902E
monochromatic
#1F092B #42145E #661F90 #8A2AC2 #A650D9
Accessibility & contrast
On white
9.71
#661F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#661F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #661F90
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##661F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##661F90 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#603B57
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #661f90; /* rgb */ color: rgb(102, 31, 144); /* oklch */ color: oklch(41.0% 0.176 309.1);
Tailwind
colors: {
custom: {
50: '#9663b1',
500: '#661f90',
950: '#000000',
},
}SCSS
$custom: #661f90; $custom-light: #9663b1; $custom-dark: #000000;
JSON
{
"hex": "#661f90",
"rgb": {
"r": 102,
"g": 31,
"b": 144
},
"hsl": {
"h": 277.699,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.41001,
"c": 0.17561,
"h": 309.1
},
"luminance": 0.05818
}Semantic roles & 50–950 ramp
primary
#661F90
secondary
#77BC4E
accent
#E8407E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80