#671AB3#671AB3
#671AB3 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.8% C 0.214 H 299.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #671AB3 |
|---|---|
| RGB | rgb(103, 26, 179) |
| HSL | hsl(270, 75%, 40%) |
| HSV | hsv(270, 85%, 70%) |
| CMYK | cmyk(42.5%, 85.5%, 0%, 29.8%) |
| CIE-LAB | lab(31.52, 59.82, -65.05) |
| CIE-LCH | lch(31.52, 88.37, 312.60°) |
| OKLab | oklab(43.75% 0.1053 -0.1862) |
| OKLCH | oklch(43.75% 0.214 299.5) |
| XYZ | xyz(14.0975, 6.8768, 43.2237) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.41
Violet Blue
#510AC9
ΔE00 4.44
Rebeccapurple
#663399
ΔE00 5.66
Purple (survey)
#7E1E9C
ΔE00 6.27
Indigo Blue
#3A18B1
ΔE00 6.31
Blue Violet
#5D06E9
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671AB3 #66B31A
analogous
#1A1AB3 #671AB3 #B31AB2
triadic
#671AB3 #B3671A #1AB367
tetradic
#671AB3 #B31A1A #66B31A #1AB2B3
square
#671AB3 #B31A1A #66B31A #1AB2B3
split-complementary
#671AB3 #B2B31A #1AB31A
monochromatic
#2A0A48 #48127E #671AB3 #862AE0 #A460E8
Accessibility & contrast
On white
8.84
#671AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#671AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671AB3
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671AB3 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#54486A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #671ab3; /* rgb */ color: rgb(103, 26, 179); /* oklch */ color: oklch(43.8% 0.214 299.5);
Tailwind
colors: {
custom: {
50: '#9a63cb',
500: '#671ab3',
950: '#000000',
},
}SCSS
$custom: #671ab3; $custom-light: #9a63cb; $custom-dark: #000000;
JSON
{
"hex": "#671ab3",
"rgb": {
"r": 103,
"g": 26,
"b": 179
},
"hsl": {
"h": 270.196,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.4375,
"c": 0.21396,
"h": 299.5
},
"luminance": 0.06877
}Semantic roles & 50–950 ramp
primary
#671AB3
secondary
#94CC5D
accent
#F13793
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82