#671B90#671B90
#671B90 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.180 H 309.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #671B90 |
|---|---|
| RGB | rgb(103, 27, 144) |
| HSL | hsl(279, 68%, 34%) |
| HSV | hsv(279, 81%, 56%) |
| CMYK | cmyk(28.5%, 81.3%, 0%, 43.5%) |
| CIE-LAB | lab(28.59, 51.58, -48.60) |
| CIE-LCH | lch(28.59, 70.88, 316.70°) |
| OKLab | oklab(40.78% 0.1155 -0.138) |
| OKLCH | oklch(40.78% 0.18 309.9) |
| XYZ | xyz(11.0185, 5.6813, 26.8963) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.45
Rebeccapurple
#663399
ΔE00 4.64
Indigo
#4B0082
ΔE00 6.21
Purple
#800080
ΔE00 6.70
Darkish Purple
#751973
ΔE00 7.40
Darkmagenta
#8B008B
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671B90 #44901B
analogous
#2C1B90 #671B90 #901B7E
triadic
#671B90 #90671B #1B9067
tetradic
#671B90 #902C1B #44901B #1B7E90
square
#671B90 #902C1B #44901B #1B7E90
split-complementary
#671B90 #7E901B #1B902C
monochromatic
#1D0829 #42115C #671B90 #8C25C4 #A949DD
Accessibility & contrast
On white
9.83
#671B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#671B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671B90
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671B90 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#613956
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #671b90; /* rgb */ color: rgb(103, 27, 144); /* oklch */ color: oklch(40.8% 0.180 309.9);
Tailwind
colors: {
custom: {
50: '#9762b1',
500: '#671b90',
950: '#000000',
},
}SCSS
$custom: #671b90; $custom-light: #9762b1; $custom-dark: #000000;
JSON
{
"hex": "#671b90",
"rgb": {
"r": 103,
"g": 27,
"b": 144
},
"hsl": {
"h": 278.974,
"s": 68.421,
"l": 33.529
},
"oklch": {
"l": 0.40782,
"c": 0.17994,
"h": 309.9
},
"luminance": 0.05681
}Semantic roles & 50–950 ramp
primary
#671B90
secondary
#72BF48
accent
#EB3D7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80