#671F91#671F91
#671F91 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.177 H 309.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #671F91 |
|---|---|
| RGB | rgb(103, 31, 145) |
| HSL | hsl(278, 65%, 35%) |
| HSV | hsv(278, 79%, 57%) |
| CMYK | cmyk(29%, 78.6%, 0%, 43.1%) |
| CIE-LAB | lab(29.18, 50.34, -48.27) |
| CIE-LCH | lch(29.18, 69.74, 316.20°) |
| OKLab | oklab(41.22% 0.1119 -0.137) |
| OKLCH | oklch(41.22% 0.177 309.2) |
| XYZ | xyz(11.1933, 5.9081, 27.3333) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.04
Purple (survey)
#7E1E9C
ΔE00 4.30
Indigo
#4B0082
ΔE00 6.60
Purple
#800080
ΔE00 6.92
Darkmagenta
#8B008B
ΔE00 7.52
Darkish Purple
#751973
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671F91 #49911F
analogous
#2E1F91 #671F91 #911F82
triadic
#671F91 #91671F #1F9167
tetradic
#671F91 #912E1F #49911F #1F8291
square
#671F91 #912E1F #49911F #1F8291
split-complementary
#671F91 #82911F #1F912E
monochromatic
#1F092C #43145F #671F91 #8B2AC3 #A751DA
Accessibility & contrast
On white
9.63
#671F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#671F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671F91
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671F91 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#613B57
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #671f91; /* rgb */ color: rgb(103, 31, 145); /* oklch */ color: oklch(41.2% 0.177 309.2);
Tailwind
colors: {
custom: {
50: '#9763b2',
500: '#671f91',
950: '#000000',
},
}SCSS
$custom: #671f91; $custom-light: #9763b2; $custom-dark: #000000;
JSON
{
"hex": "#671f91",
"rgb": {
"r": 103,
"g": 31,
"b": 145
},
"hsl": {
"h": 277.895,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.41218,
"c": 0.17688,
"h": 309.2
},
"luminance": 0.05908
}Semantic roles & 50–950 ramp
primary
#671F91
secondary
#77BD4F
accent
#E8407E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80