#681F96#681F96
#681F96 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.182 H 308.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #681F96 |
|---|---|
| RGB | rgb(104, 31, 150) |
| HSL | hsl(277, 66%, 35%) |
| HSV | hsv(277, 79%, 59%) |
| CMYK | cmyk(30.7%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(29.73, 51.65, -50.45) |
| CIE-LCH | lch(29.73, 72.20, 315.67°) |
| OKLab | oklab(41.76% 0.1121 -0.1434) |
| OKLCH | oklch(41.76% 0.182 308) |
| XYZ | xyz(11.7028, 6.1252, 29.4140) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.81
Purple (survey)
#7E1E9C
ΔE00 4.11
Indigo
#4B0082
ΔE00 6.87
Purple
#800080
ΔE00 7.35
Darkmagenta
#8B008B
ΔE00 7.73
Darkish Purple
#751973
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681F96 #4D961F
analogous
#2D1F96 #681F96 #961F88
triadic
#681F96 #96681F #1F9668
tetradic
#681F96 #962D1F #4D961F #1F8896
square
#681F96 #962D1F #4D961F #1F8896
split-complementary
#681F96 #88961F #1F962D
monochromatic
#220A31 #451563 #681F96 #8B29C9 #A754DC
Accessibility & contrast
On white
9.44
#681F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#681F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681F96
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681F96 | 1.00 | 9.44 | 2.23 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#603D5A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #681f96; /* rgb */ color: rgb(104, 31, 150); /* oklch */ color: oklch(41.8% 0.182 308.0);
Tailwind
colors: {
custom: {
50: '#9864b6',
500: '#681f96',
950: '#000000',
},
}SCSS
$custom: #681f96; $custom-light: #9864b6; $custom-dark: #000000;
JSON
{
"hex": "#681f96",
"rgb": {
"r": 104,
"g": 31,
"b": 150
},
"hsl": {
"h": 276.807,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.41757,
"c": 0.18203,
"h": 308
},
"luminance": 0.06125
}Semantic roles & 50–950 ramp
primary
#681F96
secondary
#7CBF52
accent
#E93F81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80