#681B94#681B94
#681B94 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.184 H 309.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #681B94 |
|---|---|
| RGB | rgb(104, 27, 148) |
| HSL | hsl(278, 69%, 34%) |
| HSV | hsv(278, 82%, 58%) |
| CMYK | cmyk(29.7%, 81.8%, 0%, 42%) |
| CIE-LAB | lab(29.07, 52.64, -50.29) |
| CIE-LCH | lch(29.07, 72.80, 316.31°) |
| OKLab | oklab(41.25% 0.1159 -0.1429) |
| OKLCH | oklch(41.25% 0.184 309.1) |
| XYZ | xyz(11.4451, 5.8653, 28.5404) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.23
Rebeccapurple
#663399
ΔE00 4.43
Indigo
#4B0082
ΔE00 6.45
Purple
#800080
ΔE00 7.00
Darkmagenta
#8B008B
ΔE00 7.52
Darkish Purple
#751973
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681B94 #47941B
analogous
#2C1B94 #681B94 #941B84
triadic
#681B94 #94681B #1B9468
tetradic
#681B94 #942C1B #47941B #1B8494
square
#681B94 #942C1B #47941B #1B8494
split-complementary
#681B94 #84941B #1B942C
monochromatic
#1F082C #441260 #681B94 #8C24C8 #A94BDE
Accessibility & contrast
On white
9.66
#681B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#681B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681B94
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681B94 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#613B58
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #681b94; /* rgb */ color: rgb(104, 27, 148); /* oklch */ color: oklch(41.2% 0.184 309.1);
Tailwind
colors: {
custom: {
50: '#9862b4',
500: '#681b94',
950: '#000000',
},
}SCSS
$custom: #681b94; $custom-light: #9862b4; $custom-dark: #000000;
JSON
{
"hex": "#681b94",
"rgb": {
"r": 104,
"g": 27,
"b": 148
},
"hsl": {
"h": 278.182,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.41248,
"c": 0.184,
"h": 309.1
},
"luminance": 0.05865
}Semantic roles & 50–950 ramp
primary
#681B94
secondary
#75C04B
accent
#EC3C7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80