#681F93#681F93
#681F93 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.179 H 309.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #681F93 |
|---|---|
| RGB | rgb(104, 31, 147) |
| HSL | hsl(278, 65%, 35%) |
| HSV | hsv(278, 79%, 58%) |
| CMYK | cmyk(29.3%, 78.9%, 0%, 42.4%) |
| CIE-LAB | lab(29.49, 50.98, -49.00) |
| CIE-LCH | lch(29.49, 70.70, 316.14°) |
| OKLab | oklab(41.52% 0.1128 -0.1391) |
| OKLCH | oklch(41.52% 0.179 309) |
| XYZ | xyz(11.4643, 6.0298, 28.1580) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.94
Purple (survey)
#7E1E9C
ΔE00 4.10
Indigo
#4B0082
ΔE00 6.78
Purple
#800080
ΔE00 6.99
Darkmagenta
#8B008B
ΔE00 7.48
Darkish Purple
#751973
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681F93 #4A931F
analogous
#2E1F93 #681F93 #931F84
triadic
#681F93 #93681F #1F9368
tetradic
#681F93 #932E1F #4A931F #1F8493
square
#681F93 #932E1F #4A931F #1F8493
split-complementary
#681F93 #84931F #1F932E
monochromatic
#200A2E #441460 #681F93 #8C2AC6 #A852DA
Accessibility & contrast
On white
9.52
#681F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#681F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681F93
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681F93 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#613C59
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #681f93; /* rgb */ color: rgb(104, 31, 147); /* oklch */ color: oklch(41.5% 0.179 309.0);
Tailwind
colors: {
custom: {
50: '#9864b3',
500: '#681f93',
950: '#000000',
},
}SCSS
$custom: #681f93; $custom-light: #9864b3; $custom-dark: #000000;
JSON
{
"hex": "#681f93",
"rgb": {
"r": 104,
"g": 31,
"b": 147
},
"hsl": {
"h": 277.759,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.41515,
"c": 0.17911,
"h": 309
},
"luminance": 0.0603
}Semantic roles & 50–950 ramp
primary
#681F93
secondary
#79BE50
accent
#E8407E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80