#671F9C#671F9C
#671F9C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.188 H 305.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #671F9C |
|---|---|
| RGB | rgb(103, 31, 156) |
| HSL | hsl(275, 67%, 37%) |
| HSV | hsv(275, 80%, 61%) |
| CMYK | cmyk(34%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(30.07, 52.84, -53.57) |
| CIE-LCH | lch(30.07, 75.24, 314.61°) |
| OKLab | oklab(42.12% 0.1092 -0.1526) |
| OKLCH | oklch(42.12% 0.188 305.6) |
| XYZ | xyz(12.0829, 6.2639, 32.0186) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.78
Purple (survey)
#7E1E9C
ΔE00 4.47
Indigo
#4B0082
ΔE00 7.04
Violet Blue
#510AC9
ΔE00 7.42
Purple Blue
#5D21D0
ΔE00 7.68
Indigo Blue
#3A18B1
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671F9C #549C1F
analogous
#291F9C #671F9C #9C1F93
triadic
#671F9C #9C671F #1F9C67
tetradic
#671F9C #9C291F #549C1F #1F939C
square
#671F9C #9C291F #549C1F #1F939C
split-complementary
#671F9C #939C1F #1F9C29
monochromatic
#240B36 #451569 #671F9C #8929CF #A558DE
Accessibility & contrast
On white
9.32
#671F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#671F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671F9C
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671F9C | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#5D405E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #671f9c; /* rgb */ color: rgb(103, 31, 156); /* oklch */ color: oklch(42.1% 0.188 305.6);
Tailwind
colors: {
custom: {
50: '#9864ba',
500: '#671f9c',
950: '#000000',
},
}SCSS
$custom: #671f9c; $custom-light: #9864ba; $custom-dark: #000000;
JSON
{
"hex": "#671f9c",
"rgb": {
"r": 103,
"g": 31,
"b": 156
},
"hsl": {
"h": 274.56,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.42119,
"c": 0.18762,
"h": 305.6
},
"luminance": 0.06264
}Semantic roles & 50–950 ramp
primary
#671F9C
secondary
#83C155
accent
#EA3E87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81