#671B99#671B99
#671B99 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.188 H 306.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #671B99 |
|---|---|
| RGB | rgb(103, 27, 153) |
| HSL | hsl(276, 70%, 35%) |
| HSV | hsv(276, 82%, 60%) |
| CMYK | cmyk(32.7%, 82.4%, 0%, 40%) |
| CIE-LAB | lab(29.33, 53.58, -52.94) |
| CIE-LCH | lch(29.33, 75.32, 315.34°) |
| OKLab | oklab(41.53% 0.1132 -0.1507) |
| OKLCH | oklch(41.53% 0.188 306.9) |
| XYZ | xyz(11.7340, 5.9675, 30.6645) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.32
Purple (survey)
#7E1E9C
ΔE00 4.49
Indigo
#4B0082
ΔE00 6.52
Violet Blue
#510AC9
ΔE00 7.74
Purple
#800080
ΔE00 7.75
Indigo Blue
#3A18B1
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671B99 #4D991B
analogous
#281B99 #671B99 #991B8C
triadic
#671B99 #99671B #1B9967
tetradic
#671B99 #99281B #4D991B #1B8C99
square
#671B99 #99281B #4D991B #1B8C99
split-complementary
#671B99 #8C991B #1B9928
monochromatic
#210931 #441265 #671B99 #8A24CD #A64FE0
Accessibility & contrast
On white
9.57
#671B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#671B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671B99
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671B99 | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#5E3D5B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #671b99; /* rgb */ color: rgb(103, 27, 153); /* oklch */ color: oklch(41.5% 0.188 306.9);
Tailwind
colors: {
custom: {
50: '#9862b8',
500: '#671b99',
950: '#000000',
},
}SCSS
$custom: #671b99; $custom-light: #9862b8; $custom-dark: #000000;
JSON
{
"hex": "#671b99",
"rgb": {
"r": 103,
"g": 27,
"b": 153
},
"hsl": {
"h": 276.19,
"s": 70,
"l": 35.294
},
"oklch": {
"l": 0.41526,
"c": 0.18846,
"h": 306.9
},
"luminance": 0.05967
}Semantic roles & 50–950 ramp
primary
#671B99
secondary
#7CC24E
accent
#ED3B82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80