#671AB1#671AB1
#671AB1 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.6% C 0.212 H 300.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #671AB1 |
|---|---|
| RGB | rgb(103, 26, 177) |
| HSL | hsl(271, 74%, 40%) |
| HSV | hsv(271, 85%, 69%) |
| CMYK | cmyk(41.8%, 85.3%, 0%, 30.6%) |
| CIE-LAB | lab(31.34, 59.36, -64.16) |
| CIE-LCH | lch(31.34, 87.41, 312.77°) |
| OKLab | oklab(43.57% 0.1061 -0.1836) |
| OKLCH | oklch(43.57% 0.212 300) |
| XYZ | xyz(13.8967, 6.7965, 42.1662) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Violet Blue
#510AC9
ΔE00 4.63
Purple Blue
#5D21D0
ΔE00 4.68
Rebeccapurple
#663399
ΔE00 5.50
Purple (survey)
#7E1E9C
ΔE00 6.09
Indigo Blue
#3A18B1
ΔE00 6.35
Blue Violet
#5D06E9
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671AB1 #64B11A
analogous
#1C1AB1 #671AB1 #B11AB0
triadic
#671AB1 #B1671A #1AB167
tetradic
#671AB1 #B11C1A #64B11A #1AB0B1
square
#671AB1 #B11C1A #64B11A #1AB0B1
split-complementary
#671AB1 #B0B11A #1AB11C
monochromatic
#290A46 #48127C #671AB1 #8629E0 #A45EE7
Accessibility & contrast
On white
8.90
#671AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#671AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671AB1
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671AB1 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#554769
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #671ab1; /* rgb */ color: rgb(103, 26, 177); /* oklch */ color: oklch(43.6% 0.212 300.0);
Tailwind
colors: {
custom: {
50: '#9a63c9',
500: '#671ab1',
950: '#000000',
},
}SCSS
$custom: #671ab1; $custom-light: #9a63c9; $custom-dark: #000000;
JSON
{
"hex": "#671ab1",
"rgb": {
"r": 103,
"g": 26,
"b": 177
},
"hsl": {
"h": 270.596,
"s": 74.384,
"l": 39.804
},
"oklch": {
"l": 0.43566,
"c": 0.21206,
"h": 300
},
"luminance": 0.06797
}Semantic roles & 50–950 ramp
primary
#671AB1
secondary
#92CB5B
accent
#F13792
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82