#681AB3#681AB3
#681AB3 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.9% C 0.214 H 299.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #681AB3 |
|---|---|
| RGB | rgb(104, 26, 179) |
| HSL | hsl(271, 75%, 40%) |
| HSV | hsv(271, 85%, 70%) |
| CMYK | cmyk(41.9%, 85.5%, 0%, 29.8%) |
| CIE-LAB | lab(31.66, 59.95, -64.82) |
| CIE-LCH | lch(31.66, 88.29, 312.77°) |
| OKLab | oklab(43.87% 0.1069 -0.1855) |
| OKLCH | oklch(43.87% 0.214 299.9) |
| XYZ | xyz(14.2129, 6.9364, 43.2291) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.46
Violet Blue
#510AC9
ΔE00 4.57
Rebeccapurple
#663399
ΔE00 5.62
Purple (survey)
#7E1E9C
ΔE00 6.13
Indigo Blue
#3A18B1
ΔE00 6.48
Blue Violet
#5D06E9
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681AB3 #65B31A
analogous
#1B1AB3 #681AB3 #B31AB2
triadic
#681AB3 #B3681A #1AB368
tetradic
#681AB3 #B31B1A #65B31A #1AB2B3
square
#681AB3 #B31B1A #65B31A #1AB2B3
split-complementary
#681AB3 #B2B31A #1AB31B
monochromatic
#2A0A48 #49127E #681AB3 #872AE0 #A560E8
Accessibility & contrast
On white
8.80
#681AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#681AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681AB3
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681AB3 | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#56486A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #681ab3; /* rgb */ color: rgb(104, 26, 179); /* oklch */ color: oklch(43.9% 0.214 299.9);
Tailwind
colors: {
custom: {
50: '#9b63cb',
500: '#681ab3',
950: '#000000',
},
}SCSS
$custom: #681ab3; $custom-light: #9b63cb; $custom-dark: #000000;
JSON
{
"hex": "#681ab3",
"rgb": {
"r": 104,
"g": 26,
"b": 179
},
"hsl": {
"h": 270.588,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.43873,
"c": 0.2141,
"h": 299.9
},
"luminance": 0.06937
}Semantic roles & 50–950 ramp
primary
#681AB3
secondary
#93CC5D
accent
#F13792
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82