#671F8F#671F8F
#671F8F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.175 H 309.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #671F8F |
|---|---|
| RGB | rgb(103, 31, 143) |
| HSL | hsl(279, 64%, 34%) |
| HSV | hsv(279, 78%, 56%) |
| CMYK | cmyk(28%, 78.3%, 0%, 43.9%) |
| CIE-LAB | lab(29.02, 49.90, -47.29) |
| CIE-LCH | lch(29.02, 68.74, 316.54°) |
| OKLab | oklab(41.06% 0.1123 -0.1341) |
| OKLCH | oklch(41.06% 0.175 309.9) |
| XYZ | xyz(11.0404, 5.8469, 26.5282) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.18
Purple (survey)
#7E1E9C
ΔE00 4.34
Indigo
#4B0082
ΔE00 6.58
Purple
#800080
ΔE00 6.70
Darkish Purple
#751973
ΔE00 7.23
Darkmagenta
#8B008B
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671F8F #478F1F
analogous
#2F1F8F #671F8F #8F1F7F
triadic
#671F8F #8F671F #1F8F67
tetradic
#671F8F #8F2F1F #478F1F #1F7F8F
square
#671F8F #8F2F1F #478F1F #1F7F8F
split-complementary
#671F8F #7F8F1F #1F8F2F
monochromatic
#1F092A #43145D #671F8F #8B2AC1 #A84FD9
Accessibility & contrast
On white
9.68
#671F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#671F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671F8F
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671F8F | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 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: #671f8f; /* rgb */ color: rgb(103, 31, 143); /* oklch */ color: oklch(41.1% 0.175 309.9);
Tailwind
colors: {
custom: {
50: '#9763b1',
500: '#671f8f',
950: '#000000',
},
}SCSS
$custom: #671f8f; $custom-light: #9763b1; $custom-dark: #000000;
JSON
{
"hex": "#671f8f",
"rgb": {
"r": 103,
"g": 31,
"b": 143
},
"hsl": {
"h": 278.571,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.41059,
"c": 0.17492,
"h": 309.9
},
"luminance": 0.05847
}Semantic roles & 50–950 ramp
primary
#671F8F
secondary
#75BC4E
accent
#E7407C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80