#681F97#681F97
#681F97 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.183 H 307.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #681F97 |
|---|---|
| RGB | rgb(104, 31, 151) |
| HSL | hsl(277, 66%, 36%) |
| HSV | hsv(277, 79%, 59%) |
| CMYK | cmyk(31.1%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(29.81, 51.87, -50.93) |
| CIE-LCH | lch(29.81, 72.70, 315.52°) |
| OKLab | oklab(41.84% 0.1119 -0.1448) |
| OKLCH | oklch(41.84% 0.183 307.7) |
| XYZ | xyz(11.7836, 6.1576, 29.8399) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.79
Purple (survey)
#7E1E9C
ΔE00 4.12
Indigo
#4B0082
ΔE00 6.91
Purple
#800080
ΔE00 7.47
Darkmagenta
#8B008B
ΔE00 7.81
Violet Blue
#510AC9
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681F97 #4E971F
analogous
#2C1F97 #681F97 #971F8A
triadic
#681F97 #97681F #1F9768
tetradic
#681F97 #972C1F #4E971F #1F8A97
square
#681F97 #972C1F #4E971F #1F8A97
split-complementary
#681F97 #8A971F #1F972C
monochromatic
#220A31 #451564 #681F97 #8B29CA #A754DC
Accessibility & contrast
On white
9.41
#681F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#681F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681F97
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681F97 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#603E5B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #681f97; /* rgb */ color: rgb(104, 31, 151); /* oklch */ color: oklch(41.8% 0.183 307.7);
Tailwind
colors: {
custom: {
50: '#9864b6',
500: '#681f97',
950: '#000000',
},
}SCSS
$custom: #681f97; $custom-light: #9864b6; $custom-dark: #000000;
JSON
{
"hex": "#681f97",
"rgb": {
"r": 104,
"g": 31,
"b": 151
},
"hsl": {
"h": 276.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.41838,
"c": 0.183,
"h": 307.7
},
"luminance": 0.06157
}Semantic roles & 50–950 ramp
primary
#681F97
secondary
#7DBF52
accent
#E93F81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80