#671A9E#671A9E
#671A9E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.194 H 305.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #671A9E |
|---|---|
| RGB | rgb(103, 26, 158) |
| HSL | hsl(275, 72%, 36%) |
| HSV | hsv(275, 84%, 62%) |
| CMYK | cmyk(34.8%, 83.5%, 0%, 38%) |
| CIE-LAB | lab(29.64, 55.03, -55.48) |
| CIE-LCH | lch(29.64, 78.14, 314.76°) |
| OKLab | oklab(41.87% 0.1124 -0.1582) |
| OKLCH | oklch(41.87% 0.194 305.4) |
| XYZ | xyz(12.1331, 6.0911, 32.8776) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.47
Purple (survey)
#7E1E9C
ΔE00 4.72
Indigo
#4B0082
ΔE00 6.77
Violet Blue
#510AC9
ΔE00 6.98
Indigo Blue
#3A18B1
ΔE00 7.44
Purple Blue
#5D21D0
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671A9E #519E1A
analogous
#251A9E #671A9E #9E1A93
triadic
#671A9E #9E671A #1A9E67
tetradic
#671A9E #9E251A #519E1A #1A939E
square
#671A9E #9E251A #519E1A #1A939E
split-complementary
#671A9E #939E1A #1A9E25
monochromatic
#220935 #451169 #671A9E #8923D3 #A550E2
Accessibility & contrast
On white
9.47
#671A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#671A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671A9E
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671A9E | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#5D3F5E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #671a9e; /* rgb */ color: rgb(103, 26, 158); /* oklch */ color: oklch(41.9% 0.194 305.4);
Tailwind
colors: {
custom: {
50: '#9862bc',
500: '#671a9e',
950: '#000000',
},
}SCSS
$custom: #671a9e; $custom-light: #9862bc; $custom-dark: #000000;
JSON
{
"hex": "#671a9e",
"rgb": {
"r": 103,
"g": 26,
"b": 158
},
"hsl": {
"h": 275,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.41873,
"c": 0.19406,
"h": 305.4
},
"luminance": 0.06091
}Semantic roles & 50–950 ramp
primary
#671A9E
secondary
#80C54F
accent
#EE3985
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81