#681C93#681C93
#681C93 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.182 H 309.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #681C93 |
|---|---|
| RGB | rgb(104, 28, 147) |
| HSL | hsl(278, 68%, 34%) |
| HSV | hsv(278, 81%, 58%) |
| CMYK | cmyk(29.3%, 81%, 0%, 42.4%) |
| CIE-LAB | lab(29.11, 52.07, -49.61) |
| CIE-LCH | lch(29.11, 71.92, 316.39°) |
| OKLab | oklab(41.25% 0.1154 -0.1409) |
| OKLCH | oklch(41.25% 0.182 309.3) |
| XYZ | xyz(11.3896, 5.8804, 28.1331) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.19
Rebeccapurple
#663399
ΔE00 4.35
Indigo
#4B0082
ΔE00 6.50
Purple
#800080
ΔE00 6.90
Darkmagenta
#8B008B
ΔE00 7.45
Darkish Purple
#751973
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681C93 #47931C
analogous
#2C1C93 #681C93 #931C83
triadic
#681C93 #93681C #1C9368
tetradic
#681C93 #932C1C #47931C #1C8393
square
#681C93 #932C1C #47931C #1C8393
split-complementary
#681C93 #83931C #1C932C
monochromatic
#1F082C #441260 #681C93 #8C26C6 #A94CDD
Accessibility & contrast
On white
9.65
#681C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#681C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681C93
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681C93 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#613B58
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #681c93; /* rgb */ color: rgb(104, 28, 147); /* oklch */ color: oklch(41.2% 0.182 309.3);
Tailwind
colors: {
custom: {
50: '#9862b3',
500: '#681c93',
950: '#000000',
},
}SCSS
$custom: #681c93; $custom-light: #9862b3; $custom-dark: #000000;
JSON
{
"hex": "#681c93",
"rgb": {
"r": 104,
"g": 28,
"b": 147
},
"hsl": {
"h": 278.319,
"s": 68,
"l": 34.314
},
"oklch": {
"l": 0.41249,
"c": 0.18211,
"h": 309.3
},
"luminance": 0.0588
}Semantic roles & 50–950 ramp
primary
#681C93
secondary
#75BF4C
accent
#EB3D7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80