#671F99#671F99
#671F99 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.185 H 306.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #671F99 |
|---|---|
| RGB | rgb(103, 31, 153) |
| HSL | hsl(275, 66%, 36%) |
| HSV | hsv(275, 80%, 60%) |
| CMYK | cmyk(32.7%, 79.7%, 0%, 40%) |
| CIE-LAB | lab(29.82, 52.15, -52.14) |
| CIE-LCH | lch(29.82, 73.74, 315.01°) |
| OKLab | oklab(41.87% 0.11 -0.1484) |
| OKLCH | oklch(41.87% 0.185 306.5) |
| XYZ | xyz(11.8320, 6.1636, 30.6972) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.77
Purple (survey)
#7E1E9C
ΔE00 4.36
Indigo
#4B0082
ΔE00 6.87
Purple
#800080
ΔE00 7.86
Violet Blue
#510AC9
ΔE00 7.86
Indigo Blue
#3A18B1
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671F99 #51991F
analogous
#2A1F99 #671F99 #991F8E
triadic
#671F99 #99671F #1F9967
tetradic
#671F99 #992A1F #51991F #1F8E99
square
#671F99 #992A1F #51991F #1F8E99
split-complementary
#671F99 #8E991F #1F992A
monochromatic
#220A33 #451566 #671F99 #8929CC #A556DD
Accessibility & contrast
On white
9.41
#671F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#671F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671F99
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671F99 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#5E3F5C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #671f99; /* rgb */ color: rgb(103, 31, 153); /* oklch */ color: oklch(41.9% 0.185 306.5);
Tailwind
colors: {
custom: {
50: '#9864b8',
500: '#671f99',
950: '#000000',
},
}SCSS
$custom: #671f99; $custom-light: #9864b8; $custom-dark: #000000;
JSON
{
"hex": "#671f99",
"rgb": {
"r": 103,
"g": 31,
"b": 153
},
"hsl": {
"h": 275.41,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.41869,
"c": 0.18469,
"h": 306.5
},
"luminance": 0.06163
}Semantic roles & 50–950 ramp
primary
#671F99
secondary
#80C054
accent
#E93F85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80