#681F99#681F99
#681F99 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.185 H 307.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #681F99 |
|---|---|
| RGB | rgb(104, 31, 153) |
| HSL | hsl(276, 66%, 36%) |
| HSV | hsv(276, 80%, 60%) |
| CMYK | cmyk(32%, 79.7%, 0%, 40%) |
| CIE-LAB | lab(29.97, 52.33, -51.89) |
| CIE-LCH | lch(29.97, 73.70, 315.24°) |
| OKLab | oklab(42% 0.1114 -0.1476) |
| OKLCH | oklch(42% 0.185 307) |
| XYZ | xyz(11.9474, 6.2231, 30.7026) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.75
Purple (survey)
#7E1E9C
ΔE00 4.17
Indigo
#4B0082
ΔE00 7.00
Purple
#800080
ΔE00 7.71
Violet Blue
#510AC9
ΔE00 7.97
Darkmagenta
#8B008B
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681F99 #50991F
analogous
#2B1F99 #681F99 #991F8D
triadic
#681F99 #99681F #1F9968
tetradic
#681F99 #992B1F #50991F #1F8D99
square
#681F99 #992B1F #50991F #1F8D99
split-complementary
#681F99 #8D991F #1F992B
monochromatic
#230A33 #451566 #681F99 #8B29CC #A656DD
Accessibility & contrast
On white
9.36
#681F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#681F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681F99
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681F99 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#603E5C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #681f99; /* rgb */ color: rgb(104, 31, 153); /* oklch */ color: oklch(42.0% 0.185 307.0);
Tailwind
colors: {
custom: {
50: '#9864b8',
500: '#681f99',
950: '#000000',
},
}SCSS
$custom: #681f99; $custom-light: #9864b8; $custom-dark: #000000;
JSON
{
"hex": "#681f99",
"rgb": {
"r": 104,
"g": 31,
"b": 153
},
"hsl": {
"h": 275.902,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.42002,
"c": 0.18494,
"h": 307
},
"luminance": 0.06223
}Semantic roles & 50–950 ramp
primary
#681F99
secondary
#7FC054
accent
#E93F83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80