#681C97#681C97
#681C97 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.186 H 308.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #681C97 |
|---|---|
| RGB | rgb(104, 28, 151) |
| HSL | hsl(277, 69%, 35%) |
| HSV | hsv(277, 81%, 59%) |
| CMYK | cmyk(31.1%, 81.5%, 0%, 40.8%) |
| CIE-LAB | lab(29.43, 52.96, -51.54) |
| CIE-LCH | lch(29.43, 73.90, 315.78°) |
| OKLab | oklab(41.58% 0.1144 -0.1466) |
| OKLCH | oklch(41.58% 0.186 308) |
| XYZ | xyz(11.7089, 6.0081, 29.8150) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.21
Purple (survey)
#7E1E9C
ΔE00 4.22
Indigo
#4B0082
ΔE00 6.64
Purple
#800080
ΔE00 7.38
Darkmagenta
#8B008B
ΔE00 7.78
Violet Blue
#510AC9
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681C97 #4B971C
analogous
#2A1C97 #681C97 #971C89
triadic
#681C97 #97681C #1C9768
tetradic
#681C97 #972A1C #4B971C #1C8997
square
#681C97 #972A1C #4B971C #1C8997
split-complementary
#681C97 #89971C #1C972A
monochromatic
#210930 #441263 #681C97 #8C26CB #A84FDE
Accessibility & contrast
On white
9.54
#681C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#681C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681C97
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681C97 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#603C5A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #681c97; /* rgb */ color: rgb(104, 28, 151); /* oklch */ color: oklch(41.6% 0.186 308.0);
Tailwind
colors: {
custom: {
50: '#9863b6',
500: '#681c97',
950: '#000000',
},
}SCSS
$custom: #681c97; $custom-light: #9863b6; $custom-dark: #000000;
JSON
{
"hex": "#681c97",
"rgb": {
"r": 104,
"g": 28,
"b": 151
},
"hsl": {
"h": 277.073,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.41577,
"c": 0.1859,
"h": 308
},
"luminance": 0.06008
}Semantic roles & 50–950 ramp
primary
#681C97
secondary
#7AC14E
accent
#EC3C7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80