#681B92#681B92
#681B92 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.182 H 309.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #681B92 |
|---|---|
| RGB | rgb(104, 27, 146) |
| HSL | hsl(279, 69%, 34%) |
| HSV | hsv(279, 82%, 57%) |
| CMYK | cmyk(28.8%, 81.5%, 0%, 42.7%) |
| CIE-LAB | lab(28.91, 52.20, -49.32) |
| CIE-LCH | lch(28.91, 71.81, 316.62°) |
| OKLab | oklab(41.08% 0.1164 -0.14) |
| OKLCH | oklch(41.08% 0.182 309.7) |
| XYZ | xyz(11.2881, 5.8025, 27.7139) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.24
Rebeccapurple
#663399
ΔE00 4.53
Indigo
#4B0082
ΔE00 6.40
Purple
#800080
ΔE00 6.76
Darkmagenta
#8B008B
ΔE00 7.37
Darkish Purple
#751973
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681B92 #45921B
analogous
#2D1B92 #681B92 #921B81
triadic
#681B92 #92681B #1B9268
tetradic
#681B92 #922D1B #45921B #1B8192
square
#681B92 #922D1B #45921B #1B8192
split-complementary
#681B92 #81921B #1B922D
monochromatic
#1E082B #43115E #681B92 #8D25C6 #A94ADE
Accessibility & contrast
On white
9.72
#681B92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#681B92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681B92
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681B92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681B92 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#623A57
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #681b92; /* rgb */ color: rgb(104, 27, 146); /* oklch */ color: oklch(41.1% 0.182 309.7);
Tailwind
colors: {
custom: {
50: '#9862b3',
500: '#681b92',
950: '#000000',
},
}SCSS
$custom: #681b92; $custom-light: #9862b3; $custom-dark: #000000;
JSON
{
"hex": "#681b92",
"rgb": {
"r": 104,
"g": 27,
"b": 146
},
"hsl": {
"h": 278.824,
"s": 68.786,
"l": 33.922
},
"oklch": {
"l": 0.41084,
"c": 0.18211,
"h": 309.7
},
"luminance": 0.05802
}Semantic roles & 50–950 ramp
primary
#681B92
secondary
#73BF49
accent
#EC3C7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80