#681B99#681B99
#681B99 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.189 H 307.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #681B99 |
|---|---|
| RGB | rgb(104, 27, 153) |
| HSL | hsl(277, 70%, 35%) |
| HSV | hsv(277, 82%, 60%) |
| CMYK | cmyk(32%, 82.4%, 0%, 40%) |
| CIE-LAB | lab(29.48, 53.74, -52.69) |
| CIE-LCH | lch(29.48, 75.26, 315.57°) |
| OKLab | oklab(41.66% 0.1146 -0.1499) |
| OKLCH | oklch(41.66% 0.189 307.4) |
| XYZ | xyz(11.8494, 6.0270, 30.6699) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.30
Rebeccapurple
#663399
ΔE00 4.30
Indigo
#4B0082
ΔE00 6.65
Purple
#800080
ΔE00 7.60
Violet Blue
#510AC9
ΔE00 7.85
Darkmagenta
#8B008B
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681B99 #4C991B
analogous
#291B99 #681B99 #991B8B
triadic
#681B99 #99681B #1B9968
tetradic
#681B99 #99291B #4C991B #1B8B99
square
#681B99 #99291B #4C991B #1B8B99
split-complementary
#681B99 #8B991B #1B9929
monochromatic
#210931 #451265 #681B99 #8B24CD #A74FE0
Accessibility & contrast
On white
9.52
#681B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#681B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681B99
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681B99 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#603D5B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #681b99; /* rgb */ color: rgb(104, 27, 153); /* oklch */ color: oklch(41.7% 0.189 307.4);
Tailwind
colors: {
custom: {
50: '#9862b8',
500: '#681b99',
950: '#000000',
},
}SCSS
$custom: #681b99; $custom-light: #9862b8; $custom-dark: #000000;
JSON
{
"hex": "#681b99",
"rgb": {
"r": 104,
"g": 27,
"b": 153
},
"hsl": {
"h": 276.667,
"s": 70,
"l": 35.294
},
"oklch": {
"l": 0.41662,
"c": 0.18871,
"h": 307.4
},
"luminance": 0.06027
}Semantic roles & 50–950 ramp
primary
#681B99
secondary
#7BC24E
accent
#ED3B80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80