#671A9A#671A9A
#671A9A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.190 H 306.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #671A9A |
|---|---|
| RGB | rgb(103, 26, 154) |
| HSL | hsl(276, 71%, 35%) |
| HSV | hsv(276, 83%, 60%) |
| CMYK | cmyk(33.1%, 83.1%, 0%, 39.6%) |
| CIE-LAB | lab(29.30, 54.13, -53.60) |
| CIE-LCH | lch(29.30, 76.18, 315.28°) |
| OKLab | oklab(41.53% 0.1136 -0.1526) |
| OKLCH | oklch(41.53% 0.19 306.7) |
| XYZ | xyz(11.7944, 5.9556, 31.0938) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.44
Purple (survey)
#7E1E9C
ΔE00 4.56
Indigo
#4B0082
ΔE00 6.50
Violet Blue
#510AC9
ΔE00 7.57
Indigo Blue
#3A18B1
ΔE00 7.84
Purple
#800080
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671A9A #4D9A1A
analogous
#271A9A #671A9A #9A1A8D
triadic
#671A9A #9A671A #1A9A67
tetradic
#671A9A #9A271A #4D9A1A #1A8D9A
square
#671A9A #9A271A #4D9A1A #1A8D9A
split-complementary
#671A9A #8D9A1A #1A9A27
monochromatic
#210831 #441166 #671A9A #8A23CE #A64DE1
Accessibility & contrast
On white
9.58
#671A9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#671A9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671A9A
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671A9A | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#5E3D5C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #671a9a; /* rgb */ color: rgb(103, 26, 154); /* oklch */ color: oklch(41.5% 0.190 306.7);
Tailwind
colors: {
custom: {
50: '#9862b9',
500: '#671a9a',
950: '#000000',
},
}SCSS
$custom: #671a9a; $custom-light: #9862b9; $custom-dark: #000000;
JSON
{
"hex": "#671a9a",
"rgb": {
"r": 103,
"g": 26,
"b": 154
},
"hsl": {
"h": 276.094,
"s": 71.111,
"l": 35.294
},
"oklch": {
"l": 0.41531,
"c": 0.19029,
"h": 306.7
},
"luminance": 0.05955
}Semantic roles & 50–950 ramp
primary
#671A9A
secondary
#7CC34D
accent
#EE3A82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80