#671798#671798
#671798 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.191 H 307.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #671798 |
|---|---|
| RGB | rgb(103, 23, 152) |
| HSL | hsl(277, 74%, 34%) |
| HSV | hsv(277, 85%, 60%) |
| CMYK | cmyk(32.2%, 84.9%, 0%, 40.4%) |
| CIE-LAB | lab(28.81, 54.64, -53.18) |
| CIE-LCH | lch(28.81, 76.24, 315.77°) |
| OKLab | oklab(41.14% 0.1163 -0.1514) |
| OKLCH | oklch(41.14% 0.191 307.5) |
| XYZ | xyz(11.5662, 5.7635, 30.2028) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.63
Rebeccapurple
#663399
ΔE00 4.83
Indigo
#4B0082
ΔE00 6.18
Purple
#800080
ΔE00 7.58
Violet Blue
#510AC9
ΔE00 7.82
Indigo Blue
#3A18B1
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#671798 #489817
analogous
#261798 #671798 #981789
triadic
#671798 #986717 #179867
tetradic
#671798 #982617 #489817 #178998
square
#671798 #982617 #489817 #178998
split-complementary
#671798 #899817 #179826
monochromatic
#1F072E #430F63 #671798 #8B1FCD #A846E3
Accessibility & contrast
On white
9.76
#671798 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#671798 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #671798
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##671798 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##671798 | 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)
#00419B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#5F3B5A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #671798; /* rgb */ color: rgb(103, 23, 152); /* oklch */ color: oklch(41.1% 0.191 307.5);
Tailwind
colors: {
custom: {
50: '#9861b7',
500: '#671798',
950: '#000000',
},
}SCSS
$custom: #671798; $custom-light: #9861b7; $custom-dark: #000000;
JSON
{
"hex": "#671798",
"rgb": {
"r": 103,
"g": 23,
"b": 152
},
"hsl": {
"h": 277.209,
"s": 73.714,
"l": 34.314
},
"oklch": {
"l": 0.41137,
"c": 0.1909,
"h": 307.5
},
"luminance": 0.05763
}Semantic roles & 50–950 ramp
primary
#671798
secondary
#76C447
accent
#F0377E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80