#681C9A#681C9A
#681C9A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.189 H 307.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #681C9A |
|---|---|
| RGB | rgb(104, 28, 154) |
| HSL | hsl(276, 69%, 36%) |
| HSV | hsv(276, 82%, 60%) |
| CMYK | cmyk(32.5%, 81.8%, 0%, 39.6%) |
| CIE-LAB | lab(29.68, 53.63, -52.97) |
| CIE-LCH | lch(29.68, 75.38, 315.35°) |
| OKLab | oklab(41.83% 0.1136 -0.1508) |
| OKLCH | oklch(41.83% 0.189 307) |
| XYZ | xyz(11.9556, 6.1068, 31.1145) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.16
Purple (survey)
#7E1E9C
ΔE00 4.29
Indigo
#4B0082
ΔE00 6.79
Violet Blue
#510AC9
ΔE00 7.72
Purple
#800080
ΔE00 7.75
Darkmagenta
#8B008B
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681C9A #4E9A1C
analogous
#291C9A #681C9A #9A1C8D
triadic
#681C9A #9A681C #1C9A68
tetradic
#681C9A #9A291C #4E9A1C #1C8D9A
square
#681C9A #9A291C #4E9A1C #1C8D9A
split-complementary
#681C9A #8D9A1C #1C9A29
monochromatic
#220932 #451366 #681C9A #8B25CE #A751DF
Accessibility & contrast
On white
9.45
#681C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#681C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681C9A
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681C9A | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#5F3E5C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #681c9a; /* rgb */ color: rgb(104, 28, 154); /* oklch */ color: oklch(41.8% 0.189 307.0);
Tailwind
colors: {
custom: {
50: '#9863b9',
500: '#681c9a',
950: '#000000',
},
}SCSS
$custom: #681c9a; $custom-light: #9863b9; $custom-dark: #000000;
JSON
{
"hex": "#681c9a",
"rgb": {
"r": 104,
"g": 28,
"b": 154
},
"hsl": {
"h": 276.19,
"s": 69.231,
"l": 35.686
},
"oklch": {
"l": 0.41827,
"c": 0.18875,
"h": 307
},
"luminance": 0.06107
}Semantic roles & 50–950 ramp
primary
#681C9A
secondary
#7DC250
accent
#EC3C82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80