#671F8C#671F8C
#671F8C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.172 H 311.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #671F8C |
|---|---|
| RGB | rgb(103, 31, 140) |
| HSL | hsl(280, 64%, 34%) |
| HSV | hsv(280, 78%, 55%) |
| CMYK | cmyk(26.4%, 77.9%, 0%, 45.1%) |
| CIE-LAB | lab(28.79, 49.23, -45.81) |
| CIE-LCH | lch(28.79, 67.24, 317.06°) |
| OKLab | oklab(40.82% 0.1129 -0.1298) |
| OKLCH | oklch(40.82% 0.172 311) |
| XYZ | xyz(10.8162, 5.7573, 25.3473) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.43
Purple (survey)
#7E1E9C
ΔE00 4.46
Purple
#800080
ΔE00 6.37
Indigo
#4B0082
ΔE00 6.60
Darkish Purple
#751973
ΔE00 6.76
Darkmagenta
#8B008B
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671F8C #448C1F
analogous
#301F8C #671F8C #8C1F7A
triadic
#671F8C #8C671F #1F8C67
tetradic
#671F8C #8C301F #448C1F #1F7A8C
square
#671F8C #8C301F #448C1F #1F7A8C
split-complementary
#671F8C #7A8C1F #1F8C30
monochromatic
#1D0928 #42145A #671F8C #8C2ABE #A94ED8
Accessibility & contrast
On white
9.76
#671F8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#671F8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671F8C
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671F8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671F8C | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#06458A
Tritanopia (blue-blind)
#623955
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #671f8c; /* rgb */ color: rgb(103, 31, 140); /* oklch */ color: oklch(40.8% 0.172 311.0);
Tailwind
colors: {
custom: {
50: '#9763ae',
500: '#671f8c',
950: '#000000',
},
}SCSS
$custom: #671f8c; $custom-light: #9763ae; $custom-dark: #000000;
JSON
{
"hex": "#671f8c",
"rgb": {
"r": 103,
"g": 31,
"b": 140
},
"hsl": {
"h": 279.633,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.40823,
"c": 0.172,
"h": 311
},
"luminance": 0.05757
}Semantic roles & 50–950 ramp
primary
#671F8C
secondary
#72BB4C
accent
#E74179
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F