#671E8D#671E8D
#671E8D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.174 H 310.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #671E8D |
|---|---|
| RGB | rgb(103, 30, 141) |
| HSL | hsl(279, 65%, 34%) |
| HSV | hsv(279, 79%, 55%) |
| CMYK | cmyk(27%, 78.7%, 0%, 44.7%) |
| CIE-LAB | lab(28.74, 49.83, -46.52) |
| CIE-LCH | lch(28.74, 68.17, 316.97°) |
| OKLab | oklab(40.81% 0.1136 -0.1318) |
| OKLCH | oklch(40.81% 0.174 310.8) |
| XYZ | xyz(10.8646, 5.7355, 25.7289) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.44
Rebeccapurple
#663399
ΔE00 4.47
Purple
#800080
ΔE00 6.44
Indigo
#4B0082
ΔE00 6.48
Darkish Purple
#751973
ΔE00 6.92
Darkmagenta
#8B008B
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671E8D #448D1E
analogous
#2F1E8D #671E8D #8D1E7B
triadic
#671E8D #8D671E #1E8D67
tetradic
#671E8D #8D2F1E #448D1E #1E7B8D
square
#671E8D #8D2F1E #448D1E #1E7B8D
split-complementary
#671E8D #7B8D1E #1E8D2F
monochromatic
#1D0928 #42135B #671E8D #8C29BF #A94CD9
Accessibility & contrast
On white
9.78
#671E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#671E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671E8D
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671E8D | 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)
#004190
Deuteranopia (green-blind)
#01458B
Tritanopia (blue-blind)
#623955
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #671e8d; /* rgb */ color: rgb(103, 30, 141); /* oklch */ color: oklch(40.8% 0.174 310.8);
Tailwind
colors: {
custom: {
50: '#9763af',
500: '#671e8d',
950: '#000000',
},
}SCSS
$custom: #671e8d; $custom-light: #9763af; $custom-dark: #000000;
JSON
{
"hex": "#671e8d",
"rgb": {
"r": 103,
"g": 30,
"b": 141
},
"hsl": {
"h": 279.459,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.40807,
"c": 0.17405,
"h": 310.8
},
"luminance": 0.05735
}Semantic roles & 50–950 ramp
primary
#671E8D
secondary
#72BC4B
accent
#E84079
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F