#681E9A#681E9A
#681E9A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.187 H 306.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #681E9A |
|---|---|
| RGB | rgb(104, 30, 154) |
| HSL | hsl(276, 67%, 36%) |
| HSV | hsv(276, 81%, 60%) |
| CMYK | cmyk(32.5%, 80.5%, 0%, 39.6%) |
| CIE-LAB | lab(29.92, 52.92, -52.58) |
| CIE-LCH | lch(29.92, 74.60, 315.19°) |
| OKLab | oklab(42% 0.112 -0.1496) |
| OKLCH | oklch(42% 0.187 306.8) |
| XYZ | xyz(12.0047, 6.2048, 31.1308) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.89
Purple (survey)
#7E1E9C
ΔE00 4.23
Indigo
#4B0082
ΔE00 6.96
Violet Blue
#510AC9
ΔE00 7.79
Purple
#800080
ΔE00 7.80
Darkmagenta
#8B008B
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681E9A #509A1E
analogous
#2A1E9A #681E9A #9A1E8E
triadic
#681E9A #9A681E #1E9A68
tetradic
#681E9A #9A2A1E #509A1E #1E8E9A
square
#681E9A #9A2A1E #509A1E #1E8E9A
split-complementary
#681E9A #8E9A1E #1E9A2A
monochromatic
#230A34 #451467 #681E9A #8B28CD #A655DE
Accessibility & contrast
On white
9.37
#681E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#681E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681E9A
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681E9A | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#5F3E5C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #681e9a; /* rgb */ color: rgb(104, 30, 154); /* oklch */ color: oklch(42.0% 0.187 306.8);
Tailwind
colors: {
custom: {
50: '#9864b9',
500: '#681e9a',
950: '#000000',
},
}SCSS
$custom: #681e9a; $custom-light: #9864b9; $custom-dark: #000000;
JSON
{
"hex": "#681e9a",
"rgb": {
"r": 104,
"g": 30,
"b": 154
},
"hsl": {
"h": 275.806,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.41996,
"c": 0.18688,
"h": 306.8
},
"luminance": 0.06205
}Semantic roles & 50–950 ramp
primary
#681E9A
secondary
#7FC153
accent
#EA3E83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80