#671B8F#671B8F
#671B8F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.179 H 310.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #671B8F |
|---|---|
| RGB | rgb(103, 27, 143) |
| HSL | hsl(279, 68%, 33%) |
| HSV | hsv(279, 81%, 56%) |
| CMYK | cmyk(28%, 81.1%, 0%, 43.9%) |
| CIE-LAB | lab(28.51, 51.37, -48.11) |
| CIE-LCH | lch(28.51, 70.38, 316.87°) |
| OKLab | oklab(40.7% 0.1158 -0.1365) |
| OKLCH | oklch(40.7% 0.179 310.3) |
| XYZ | xyz(10.9424, 5.6509, 26.4956) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.48
Rebeccapurple
#663399
ΔE00 4.71
Indigo
#4B0082
ΔE00 6.20
Purple
#800080
ΔE00 6.59
Darkish Purple
#751973
ΔE00 7.25
Darkmagenta
#8B008B
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671B8F #438F1B
analogous
#2D1B8F #671B8F #8F1B7D
triadic
#671B8F #8F671B #1B8F67
tetradic
#671B8F #8F2D1B #438F1B #1B7D8F
square
#671B8F #8F2D1B #438F1B #1B7D8F
split-complementary
#671B8F #7D8F1B #1B8F2D
monochromatic
#1D0828 #42115C #671B8F #8C25C2 #A948DC
Accessibility & contrast
On white
9.86
#671B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#671B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671B8F
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671B8F | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#613855
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #671b8f; /* rgb */ color: rgb(103, 27, 143); /* oklch */ color: oklch(40.7% 0.179 310.3);
Tailwind
colors: {
custom: {
50: '#9762b1',
500: '#671b8f',
950: '#000000',
},
}SCSS
$custom: #671b8f; $custom-light: #9762b1; $custom-dark: #000000;
JSON
{
"hex": "#671b8f",
"rgb": {
"r": 103,
"g": 27,
"b": 143
},
"hsl": {
"h": 279.31,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.40702,
"c": 0.17899,
"h": 310.3
},
"luminance": 0.05651
}Semantic roles & 50–950 ramp
primary
#671B8F
secondary
#71BE48
accent
#EB3D79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80