#671F94#671F94
#671F94 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.180 H 308.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #671F94 |
|---|---|
| RGB | rgb(103, 31, 148) |
| HSL | hsl(277, 65%, 35%) |
| HSV | hsv(277, 79%, 58%) |
| CMYK | cmyk(30.4%, 79.1%, 0%, 42%) |
| CIE-LAB | lab(29.42, 51.02, -49.73) |
| CIE-LCH | lch(29.42, 71.25, 315.73°) |
| OKLab | oklab(41.46% 0.1112 -0.1413) |
| OKLCH | oklch(41.46% 0.18 308.2) |
| XYZ | xyz(11.4277, 6.0018, 28.5677) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.89
Purple (survey)
#7E1E9C
ΔE00 4.28
Indigo
#4B0082
ΔE00 6.66
Purple
#800080
ΔE00 7.27
Darkmagenta
#8B008B
ΔE00 7.75
Darkish Purple
#751973
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671F94 #4C941F
analogous
#2C1F94 #671F94 #941F86
triadic
#671F94 #94671F #1F9467
tetradic
#671F94 #942C1F #4C941F #1F8694
square
#671F94 #942C1F #4C941F #1F8694
split-complementary
#671F94 #86941F #1F942C
monochromatic
#210A2F #441461 #671F94 #8A2AC7 #A653DB
Accessibility & contrast
On white
9.54
#671F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#671F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671F94
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671F94 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#603C59
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #671f94; /* rgb */ color: rgb(103, 31, 148); /* oklch */ color: oklch(41.5% 0.180 308.2);
Tailwind
colors: {
custom: {
50: '#9763b4',
500: '#671f94',
950: '#000000',
},
}SCSS
$custom: #671f94; $custom-light: #9763b4; $custom-dark: #000000;
JSON
{
"hex": "#671f94",
"rgb": {
"r": 103,
"g": 31,
"b": 148
},
"hsl": {
"h": 276.923,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.41459,
"c": 0.1798,
"h": 308.2
},
"luminance": 0.06002
}Semantic roles & 50–950 ramp
primary
#671F94
secondary
#7BBE51
accent
#E83F80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80