#671B8E#671B8E
#671B8E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.178 H 310.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #671B8E |
|---|---|
| RGB | rgb(103, 27, 142) |
| HSL | hsl(280, 68%, 33%) |
| HSV | hsv(280, 81%, 56%) |
| CMYK | cmyk(27.5%, 81%, 0%, 44.3%) |
| CIE-LAB | lab(28.43, 51.15, -47.62) |
| CIE-LCH | lch(28.43, 69.89, 317.04°) |
| OKLab | oklab(40.62% 0.116 -0.1351) |
| OKLCH | oklch(40.62% 0.178 310.7) |
| XYZ | xyz(10.8670, 5.6207, 26.0984) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.51
Rebeccapurple
#663399
ΔE00 4.78
Indigo
#4B0082
ΔE00 6.20
Purple
#800080
ΔE00 6.47
Darkish Purple
#751973
ΔE00 7.10
Darkmagenta
#8B008B
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671B8E #428E1B
analogous
#2D1B8E #671B8E #8E1B7B
triadic
#671B8E #8E671B #1B8E67
tetradic
#671B8E #8E2D1B #428E1B #1B7B8E
square
#671B8E #8E2D1B #428E1B #1B7B8E
split-complementary
#671B8E #7B8E1B #1B8E2D
monochromatic
#1C0727 #42115B #671B8E #8C25C1 #AA47DC
Accessibility & contrast
On white
9.89
#671B8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#671B8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671B8E
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671B8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671B8E | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#623855
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #671b8e; /* rgb */ color: rgb(103, 27, 142); /* oklch */ color: oklch(40.6% 0.178 310.7);
Tailwind
colors: {
custom: {
50: '#9761b0',
500: '#671b8e',
950: '#000000',
},
}SCSS
$custom: #671b8e; $custom-light: #9761b0; $custom-dark: #000000;
JSON
{
"hex": "#671b8e",
"rgb": {
"r": 103,
"g": 27,
"b": 142
},
"hsl": {
"h": 279.652,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.40621,
"c": 0.17805,
"h": 310.7
},
"luminance": 0.0562
}Semantic roles & 50–950 ramp
primary
#671B8E
secondary
#6FBE47
accent
#EB3D78
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F