#681B97#681B97
#681B97 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.187 H 308.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #681B97 |
|---|---|
| RGB | rgb(104, 27, 151) |
| HSL | hsl(277, 70%, 35%) |
| HSV | hsv(277, 82%, 59%) |
| CMYK | cmyk(31.1%, 82.1%, 0%, 40.8%) |
| CIE-LAB | lab(29.32, 53.30, -51.73) |
| CIE-LCH | lch(29.32, 74.28, 315.85°) |
| OKLab | oklab(41.5% 0.1151 -0.1471) |
| OKLCH | oklch(41.5% 0.187 308) |
| XYZ | xyz(11.6856, 5.9615, 29.8072) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.26
Rebeccapurple
#663399
ΔE00 4.34
Indigo
#4B0082
ΔE00 6.56
Purple
#800080
ΔE00 7.36
Darkmagenta
#8B008B
ΔE00 7.77
Violet Blue
#510AC9
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681B97 #4A971B
analogous
#2A1B97 #681B97 #971B88
triadic
#681B97 #97681B #1B9768
tetradic
#681B97 #972A1B #4A971B #1B8897
square
#681B97 #972A1B #4A971B #1B8897
split-complementary
#681B97 #88971B #1B972A
monochromatic
#20082F #441263 #681B97 #8C24CB #A84DDF
Accessibility & contrast
On white
9.58
#681B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#681B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681B97
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681B97 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#603C5A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #681b97; /* rgb */ color: rgb(104, 27, 151); /* oklch */ color: oklch(41.5% 0.187 308.0);
Tailwind
colors: {
custom: {
50: '#9862b6',
500: '#681b97',
950: '#000000',
},
}SCSS
$custom: #681b97; $custom-light: #9862b6; $custom-dark: #000000;
JSON
{
"hex": "#681b97",
"rgb": {
"r": 104,
"g": 27,
"b": 151
},
"hsl": {
"h": 277.258,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.41495,
"c": 0.18682,
"h": 308
},
"luminance": 0.05961
}Semantic roles & 50–950 ramp
primary
#681B97
secondary
#79C14C
accent
#EC3B7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80