#681F8F#681F8F
#681F8F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.175 H 310.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #681F8F |
|---|---|
| RGB | rgb(104, 31, 143) |
| HSL | hsl(279, 64%, 34%) |
| HSV | hsv(279, 78%, 56%) |
| CMYK | cmyk(27.3%, 78.3%, 0%, 43.9%) |
| CIE-LAB | lab(29.18, 50.09, -47.03) |
| CIE-LCH | lch(29.18, 68.71, 316.80°) |
| OKLab | oklab(41.2% 0.1137 -0.1333) |
| OKLCH | oklch(41.2% 0.175 310.5) |
| XYZ | xyz(11.1559, 5.9065, 26.5337) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.17
Rebeccapurple
#663399
ΔE00 4.20
Purple
#800080
ΔE00 6.52
Indigo
#4B0082
ΔE00 6.74
Darkish Purple
#751973
ΔE00 7.09
Darkmagenta
#8B008B
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681F8F #468F1F
analogous
#301F8F #681F8F #8F1F7E
triadic
#681F8F #8F681F #1F8F68
tetradic
#681F8F #8F301F #468F1F #1F7E8F
square
#681F8F #8F301F #468F1F #1F7E8F
split-complementary
#681F8F #7E8F1F #1F8F30
monochromatic
#1F092A #43145D #681F8F #8D2AC1 #A94FD9
Accessibility & contrast
On white
9.63
#681F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#681F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681F8F
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681F8F | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#633A56
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #681f8f; /* rgb */ color: rgb(104, 31, 143); /* oklch */ color: oklch(41.2% 0.175 310.5);
Tailwind
colors: {
custom: {
50: '#9763b1',
500: '#681f8f',
950: '#000000',
},
}SCSS
$custom: #681f8f; $custom-light: #9763b1; $custom-dark: #000000;
JSON
{
"hex": "#681f8f",
"rgb": {
"r": 104,
"g": 31,
"b": 143
},
"hsl": {
"h": 279.107,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.41197,
"c": 0.17523,
"h": 310.5
},
"luminance": 0.05906
}Semantic roles & 50–950 ramp
primary
#681F8F
secondary
#74BC4E
accent
#E7407B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80