#671A99#671A99
#671A99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.189 H 307.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #671A99 |
|---|---|
| RGB | rgb(103, 26, 153) |
| HSL | hsl(276, 71%, 35%) |
| HSV | hsv(276, 83%, 60%) |
| CMYK | cmyk(32.7%, 83%, 0%, 40%) |
| CIE-LAB | lab(29.22, 53.91, -53.13) |
| CIE-LCH | lch(29.22, 75.69, 315.42°) |
| OKLab | oklab(41.45% 0.1139 -0.1512) |
| OKLCH | oklch(41.45% 0.189 307) |
| XYZ | xyz(11.7114, 5.9224, 30.6570) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.45
Purple (survey)
#7E1E9C
ΔE00 4.53
Indigo
#4B0082
ΔE00 6.44
Violet Blue
#510AC9
ΔE00 7.72
Purple
#800080
ΔE00 7.74
Indigo Blue
#3A18B1
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671A99 #4C991A
analogous
#271A99 #671A99 #991A8B
triadic
#671A99 #99671A #1A9967
tetradic
#671A99 #99271A #4C991A #1A8B99
square
#671A99 #99271A #4C991A #1A8B99
split-complementary
#671A99 #8B991A #1A9927
monochromatic
#210830 #441165 #671A99 #8A23CD #A64DE1
Accessibility & contrast
On white
9.61
#671A99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#671A99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671A99
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671A99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671A99 | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#5E3D5B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #671a99; /* rgb */ color: rgb(103, 26, 153); /* oklch */ color: oklch(41.4% 0.189 307.0);
Tailwind
colors: {
custom: {
50: '#9862b8',
500: '#671a99',
950: '#000000',
},
}SCSS
$custom: #671a99; $custom-light: #9862b8; $custom-dark: #000000;
JSON
{
"hex": "#671a99",
"rgb": {
"r": 103,
"g": 26,
"b": 153
},
"hsl": {
"h": 276.378,
"s": 70.95,
"l": 35.098
},
"oklch": {
"l": 0.41446,
"c": 0.18934,
"h": 307
},
"luminance": 0.05922
}Semantic roles & 50–950 ramp
primary
#671A99
secondary
#7BC34C
accent
#EE3A81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80