#681C96#681C96
#681C96 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.185 H 308.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #681C96 |
|---|---|
| RGB | rgb(104, 28, 150) |
| HSL | hsl(277, 69%, 35%) |
| HSV | hsv(277, 81%, 59%) |
| CMYK | cmyk(30.7%, 81.3%, 0%, 41.2%) |
| CIE-LAB | lab(29.35, 52.73, -51.06) |
| CIE-LCH | lch(29.35, 73.40, 315.92°) |
| OKLab | oklab(41.5% 0.1146 -0.1451) |
| OKLCH | oklch(41.5% 0.185 308.3) |
| XYZ | xyz(11.6280, 5.9758, 29.3891) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.20
Rebeccapurple
#663399
ΔE00 4.23
Indigo
#4B0082
ΔE00 6.60
Purple
#800080
ΔE00 7.26
Darkmagenta
#8B008B
ΔE00 7.69
Darkish Purple
#751973
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681C96 #4A961C
analogous
#2B1C96 #681C96 #961C87
triadic
#681C96 #96681C #1C9668
tetradic
#681C96 #962B1C #4A961C #1C8796
square
#681C96 #962B1C #4A961C #1C8796
split-complementary
#681C96 #87961C #1C962B
monochromatic
#20092F #441262 #681C96 #8C26CA #A84EDE
Accessibility & contrast
On white
9.57
#681C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#681C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681C96
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681C96 | 1.00 | 9.57 | 2.20 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#613C5A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #681c96; /* rgb */ color: rgb(104, 28, 150); /* oklch */ color: oklch(41.5% 0.185 308.3);
Tailwind
colors: {
custom: {
50: '#9862b6',
500: '#681c96',
950: '#000000',
},
}SCSS
$custom: #681c96; $custom-light: #9862b6; $custom-dark: #000000;
JSON
{
"hex": "#681c96",
"rgb": {
"r": 104,
"g": 28,
"b": 150
},
"hsl": {
"h": 277.377,
"s": 68.539,
"l": 34.902
},
"oklch": {
"l": 0.41495,
"c": 0.18495,
"h": 308.3
},
"luminance": 0.05976
}Semantic roles & 50–950 ramp
primary
#681C96
secondary
#79C14D
accent
#EB3C7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80