#671E8F#671E8F
#671E8F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.176 H 310.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #671E8F |
|---|---|
| RGB | rgb(103, 30, 143) |
| HSL | hsl(279, 65%, 34%) |
| HSV | hsv(279, 79%, 56%) |
| CMYK | cmyk(28%, 79%, 0%, 43.9%) |
| CIE-LAB | lab(28.89, 50.28, -47.50) |
| CIE-LCH | lch(28.89, 69.17, 316.62°) |
| OKLab | oklab(40.97% 0.1132 -0.1347) |
| OKLCH | oklch(40.97% 0.176 310) |
| XYZ | xyz(11.0147, 5.7955, 26.5197) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.32
Purple (survey)
#7E1E9C
ΔE00 4.37
Indigo
#4B0082
ΔE00 6.48
Purple
#800080
ΔE00 6.66
Darkish Purple
#751973
ΔE00 7.23
Darkmagenta
#8B008B
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671E8F #468F1E
analogous
#2F1E8F #671E8F #8F1E7F
triadic
#671E8F #8F671E #1E8F67
tetradic
#671E8F #8F2F1E #468F1E #1E7F8F
square
#671E8F #8F2F1E #468F1E #1E7F8F
split-complementary
#671E8F #7F8F1E #1E8F2F
monochromatic
#1E092A #43135C #671E8F #8B29C2 #A84EDA
Accessibility & contrast
On white
9.73
#671E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#671E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671E8F
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671E8F | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#613A56
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #671e8f; /* rgb */ color: rgb(103, 30, 143); /* oklch */ color: oklch(41.0% 0.176 310.0);
Tailwind
colors: {
custom: {
50: '#9763b1',
500: '#671e8f',
950: '#000000',
},
}SCSS
$custom: #671e8f; $custom-light: #9763b1; $custom-dark: #000000;
JSON
{
"hex": "#671e8f",
"rgb": {
"r": 103,
"g": 30,
"b": 143
},
"hsl": {
"h": 278.761,
"s": 65.318,
"l": 33.922
},
"oklch": {
"l": 0.40966,
"c": 0.17598,
"h": 310
},
"luminance": 0.05795
}Semantic roles & 50–950 ramp
primary
#671E8F
secondary
#74BC4C
accent
#E8407B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80