#671F97#671F97
#671F97 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.183 H 307.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #671F97 |
|---|---|
| RGB | rgb(103, 31, 151) |
| HSL | hsl(276, 66%, 36%) |
| HSV | hsv(276, 79%, 59%) |
| CMYK | cmyk(31.8%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(29.66, 51.69, -51.18) |
| CIE-LCH | lch(29.66, 72.74, 315.29°) |
| OKLab | oklab(41.7% 0.1105 -0.1456) |
| OKLCH | oklch(41.7% 0.183 307.2) |
| XYZ | xyz(11.6682, 6.0981, 29.8345) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.79
Purple (survey)
#7E1E9C
ΔE00 4.31
Indigo
#4B0082
ΔE00 6.77
Purple
#800080
ΔE00 7.62
Darkmagenta
#8B008B
ΔE00 7.99
Violet Blue
#510AC9
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671F97 #4F971F
analogous
#2B1F97 #671F97 #971F8B
triadic
#671F97 #97671F #1F9767
tetradic
#671F97 #972B1F #4F971F #1F8B97
square
#671F97 #972B1F #4F971F #1F8B97
split-complementary
#671F97 #8B971F #1F972B
monochromatic
#220A31 #441564 #671F97 #8A29CA #A654DC
Accessibility & contrast
On white
9.46
#671F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#671F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671F97
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671F97 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#5F3E5B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #671f97; /* rgb */ color: rgb(103, 31, 151); /* oklch */ color: oklch(41.7% 0.183 307.2);
Tailwind
colors: {
custom: {
50: '#9764b6',
500: '#671f97',
950: '#000000',
},
}SCSS
$custom: #671f97; $custom-light: #9764b6; $custom-dark: #000000;
JSON
{
"hex": "#671f97",
"rgb": {
"r": 103,
"g": 31,
"b": 151
},
"hsl": {
"h": 276,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.41704,
"c": 0.18273,
"h": 307.2
},
"luminance": 0.06098
}Semantic roles & 50–950 ramp
primary
#671F97
secondary
#7EBF52
accent
#E93F83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80