#681A99#681A99
#681A99 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.190 H 307.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #681A99 |
|---|---|
| RGB | rgb(104, 26, 153) |
| HSL | hsl(277, 71%, 35%) |
| HSV | hsv(277, 83%, 60%) |
| CMYK | cmyk(32%, 83%, 0%, 40%) |
| CIE-LAB | lab(29.37, 54.07, -52.87) |
| CIE-LCH | lch(29.37, 75.63, 315.64°) |
| OKLab | oklab(41.58% 0.1154 -0.1505) |
| OKLCH | oklch(41.58% 0.19 307.5) |
| XYZ | xyz(11.8268, 5.9819, 30.6624) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.34
Rebeccapurple
#663399
ΔE00 4.43
Indigo
#4B0082
ΔE00 6.58
Purple
#800080
ΔE00 7.59
Violet Blue
#510AC9
ΔE00 7.82
Darkmagenta
#8B008B
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681A99 #4B991A
analogous
#281A99 #681A99 #991A8B
triadic
#681A99 #99681A #1A9968
tetradic
#681A99 #99281A #4B991A #1A8B99
square
#681A99 #99281A #4B991A #1A8B99
split-complementary
#681A99 #8B991A #1A9928
monochromatic
#210830 #441165 #681A99 #8C23CD #A84DE1
Accessibility & contrast
On white
9.56
#681A99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#681A99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681A99
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681A99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681A99 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#603C5B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #681a99; /* rgb */ color: rgb(104, 26, 153); /* oklch */ color: oklch(41.6% 0.190 307.5);
Tailwind
colors: {
custom: {
50: '#9862b8',
500: '#681a99',
950: '#000000',
},
}SCSS
$custom: #681a99; $custom-light: #9862b8; $custom-dark: #000000;
JSON
{
"hex": "#681a99",
"rgb": {
"r": 104,
"g": 26,
"b": 153
},
"hsl": {
"h": 276.85,
"s": 70.95,
"l": 35.098
},
"oklch": {
"l": 0.41583,
"c": 0.18959,
"h": 307.5
},
"luminance": 0.05982
}Semantic roles & 50–950 ramp
primary
#681A99
secondary
#7AC34C
accent
#EE3A7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80