#671EB3#671EB3
#671EB3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.211 H 299.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #671EB3 |
|---|---|
| RGB | rgb(103, 30, 179) |
| HSL | hsl(269, 71%, 41%) |
| HSV | hsv(269, 83%, 70%) |
| CMYK | cmyk(42.5%, 83.2%, 0%, 29.8%) |
| CIE-LAB | lab(31.96, 58.55, -64.34) |
| CIE-LCH | lch(31.96, 86.99, 312.30°) |
| OKLab | oklab(44.05% 0.1029 -0.1842) |
| OKLCH | oklch(44.05% 0.211 299.2) |
| XYZ | xyz(14.1924, 7.0666, 43.2553) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.28
Violet Blue
#510AC9
ΔE00 4.61
Rebeccapurple
#663399
ΔE00 5.35
Purple (survey)
#7E1E9C
ΔE00 6.23
Indigo Blue
#3A18B1
ΔE00 6.44
Blue Violet
#5D06E9
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671EB3 #6AB31E
analogous
#1E1FB3 #671EB3 #B11EB3
triadic
#671EB3 #B3671E #1EB367
tetradic
#671EB3 #B31E1F #6AB31E #1EB3B1
square
#671EB3 #B31E1F #6AB31E #1EB3B1
split-complementary
#671EB3 #B3B11E #1FB31E
monochromatic
#2B0C4A #49157F #671EB3 #8532DD #A466E5
Accessibility & contrast
On white
8.70
#671EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#671EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671EB3
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671EB3 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#544A6B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #671eb3; /* rgb */ color: rgb(103, 30, 179); /* oklch */ color: oklch(44.0% 0.211 299.2);
Tailwind
colors: {
custom: {
50: '#9a65cb',
500: '#671eb3',
950: '#000000',
},
}SCSS
$custom: #671eb3; $custom-light: #9a65cb; $custom-dark: #000000;
JSON
{
"hex": "#671eb3",
"rgb": {
"r": 103,
"g": 30,
"b": 179
},
"hsl": {
"h": 269.396,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.44049,
"c": 0.21097,
"h": 299.2
},
"luminance": 0.07067
}Semantic roles & 50–950 ramp
primary
#671EB3
secondary
#97CB62
accent
#EE3A96
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82