#681C99#681C99
#681C99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.188 H 307.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #681C99 |
|---|---|
| RGB | rgb(104, 28, 153) |
| HSL | hsl(276, 69%, 35%) |
| HSV | hsv(276, 82%, 60%) |
| CMYK | cmyk(32%, 81.7%, 0%, 40%) |
| CIE-LAB | lab(29.60, 53.40, -52.50) |
| CIE-LCH | lch(29.60, 74.89, 315.49°) |
| OKLab | oklab(41.74% 0.1138 -0.1494) |
| OKLCH | oklch(41.74% 0.188 307.3) |
| XYZ | xyz(11.8727, 6.0736, 30.6777) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.17
Purple (survey)
#7E1E9C
ΔE00 4.26
Indigo
#4B0082
ΔE00 6.73
Purple
#800080
ΔE00 7.63
Violet Blue
#510AC9
ΔE00 7.87
Darkmagenta
#8B008B
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681C99 #4D991C
analogous
#291C99 #681C99 #991C8B
triadic
#681C99 #99681C #1C9968
tetradic
#681C99 #99291C #4D991C #1C8B99
square
#681C99 #99291C #4D991C #1C8B99
split-complementary
#681C99 #8B991C #1C9929
monochromatic
#220932 #451365 #681C99 #8B25CD #A750DF
Accessibility & contrast
On white
9.48
#681C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#681C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681C99
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681C99 | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#603D5B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #681c99; /* rgb */ color: rgb(104, 28, 153); /* oklch */ color: oklch(41.7% 0.188 307.3);
Tailwind
colors: {
custom: {
50: '#9863b8',
500: '#681c99',
950: '#000000',
},
}SCSS
$custom: #681c99; $custom-light: #9863b8; $custom-dark: #000000;
JSON
{
"hex": "#681c99",
"rgb": {
"r": 104,
"g": 28,
"b": 153
},
"hsl": {
"h": 276.48,
"s": 69.061,
"l": 35.49
},
"oklch": {
"l": 0.41743,
"c": 0.1878,
"h": 307.3
},
"luminance": 0.06073
}Semantic roles & 50–950 ramp
primary
#681C99
secondary
#7CC24F
accent
#EC3C81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80