#682B97#682B97
#682B97 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.169 H 306.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #682B97 |
|---|---|
| RGB | rgb(104, 43, 151) |
| HSL | hsl(274, 56%, 38%) |
| HSV | hsv(274, 72%, 59%) |
| CMYK | cmyk(31.1%, 71.5%, 0%, 40.8%) |
| CIE-LAB | lab(31.59, 46.79, -48.04) |
| CIE-LCH | lch(31.59, 67.06, 314.25°) |
| OKLab | oklab(43.1% 0.1003 -0.1364) |
| OKLCH | oklch(43.1% 0.169 306.3) |
| XYZ | xyz(12.1575, 6.9053, 29.9645) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.78
Purple (survey)
#7E1E9C
ΔE00 4.28
Purple
#800080
ΔE00 8.18
Darkmagenta
#8B008B
ΔE00 8.30
Indigo
#4B0082
ΔE00 8.40
Darkish Purple
#751973
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#682B97 #5A972B
analogous
#322B97 #682B97 #972B90
triadic
#682B97 #97682B #2B9768
tetradic
#682B97 #97322B #5A972B #2B9097
square
#682B97 #97322B #5A972B #2B9097
split-complementary
#682B97 #90972B #2B9732
monochromatic
#261038 #471D67 #682B97 #8939C7 #A568D4
Accessibility & contrast
On white
8.82
#682B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#682B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #682B97
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##682B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##682B97 | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#044B95
Tritanopia (blue-blind)
#60445E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #682b97; /* rgb */ color: rgb(104, 43, 151); /* oklch */ color: oklch(43.1% 0.169 306.3);
Tailwind
colors: {
custom: {
50: '#976ab6',
500: '#682b97',
950: '#000000',
},
}SCSS
$custom: #682b97; $custom-light: #976ab6; $custom-dark: #000000;
JSON
{
"hex": "#682b97",
"rgb": {
"r": 104,
"g": 43,
"b": 151
},
"hsl": {
"h": 273.889,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.43099,
"c": 0.16927,
"h": 306.3
},
"luminance": 0.06905
}Semantic roles & 50–950 ramp
primary
#682B97
secondary
#89BB63
accent
#DF498A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80