#671C8D#671C8D
#671C8D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.176 H 310.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #671C8D |
|---|---|
| RGB | rgb(103, 28, 141) |
| HSL | hsl(280, 67%, 33%) |
| HSV | hsv(280, 80%, 55%) |
| CMYK | cmyk(27%, 80.1%, 0%, 44.7%) |
| CIE-LAB | lab(28.48, 50.57, -46.93) |
| CIE-LCH | lch(28.48, 69.00, 317.14°) |
| OKLab | oklab(40.63% 0.1154 -0.1331) |
| OKLCH | oklch(40.63% 0.176 310.9) |
| XYZ | xyz(10.8156, 5.6374, 25.7125) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.51
Rebeccapurple
#663399
ΔE00 4.73
Indigo
#4B0082
ΔE00 6.29
Purple
#800080
ΔE00 6.39
Darkish Purple
#751973
ΔE00 6.93
Darkmagenta
#8B008B
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671C8D #428D1C
analogous
#2E1C8D #671C8D #8D1C7A
triadic
#671C8D #8D671C #1C8D67
tetradic
#671C8D #8D2E1C #428D1C #1C7A8D
square
#671C8D #8D2E1C #428D1C #1C7A8D
split-complementary
#671C8D #7A8D1C #1C8D2E
monochromatic
#1C0827 #42125A #671C8D #8C26C0 #AA49DB
Accessibility & contrast
On white
9.87
#671C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#671C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671C8D
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671C8D | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#623854
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #671c8d; /* rgb */ color: rgb(103, 28, 141); /* oklch */ color: oklch(40.6% 0.176 310.9);
Tailwind
colors: {
custom: {
50: '#9762af',
500: '#671c8d',
950: '#000000',
},
}SCSS
$custom: #671c8d; $custom-light: #9762af; $custom-dark: #000000;
JSON
{
"hex": "#671c8d",
"rgb": {
"r": 103,
"g": 28,
"b": 141
},
"hsl": {
"h": 279.823,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.40627,
"c": 0.17612,
"h": 310.9
},
"luminance": 0.05637
}Semantic roles & 50–950 ramp
primary
#671C8D
secondary
#6FBD48
accent
#EA3E78
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F