#682691#682691
#682691 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.169 H 309.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #682691 |
|---|---|
| RGB | rgb(104, 38, 145) |
| HSL | hsl(277, 58%, 36%) |
| HSV | hsv(277, 74%, 57%) |
| CMYK | cmyk(28.3%, 73.8%, 0%, 43.1%) |
| CIE-LAB | lab(30.34, 47.66, -46.39) |
| CIE-LCH | lch(30.34, 66.51, 315.77°) |
| OKLab | oklab(42.07% 0.1065 -0.1315) |
| OKLCH | oklch(42.07% 0.169 309) |
| XYZ | xyz(11.5118, 6.3738, 27.4064) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.03
Purple (survey)
#7E1E9C
ΔE00 4.09
Purple
#800080
ΔE00 7.11
Darkish Purple
#751973
ΔE00 7.50
Darkmagenta
#8B008B
ΔE00 7.55
Indigo
#4B0082
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#682691 #4F9126
analogous
#322691 #682691 #912684
triadic
#682691 #916826 #269168
tetradic
#682691 #913226 #4F9126 #268491
square
#682691 #913226 #4F9126 #268491
split-complementary
#682691 #849126 #269132
monochromatic
#220D30 #451961 #682691 #8B33C1 #A75DD5
Accessibility & contrast
On white
9.23
#682691 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#682691 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #682691
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##682691 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##682691 | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#0A488F
Tritanopia (blue-blind)
#623F59
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #682691; /* rgb */ color: rgb(104, 38, 145); /* oklch */ color: oklch(42.1% 0.169 309.0);
Tailwind
colors: {
custom: {
50: '#9767b2',
500: '#682691',
950: '#000000',
},
}SCSS
$custom: #682691; $custom-light: #9767b2; $custom-dark: #000000;
JSON
{
"hex": "#682691",
"rgb": {
"r": 104,
"g": 38,
"b": 145
},
"hsl": {
"h": 277.009,
"s": 58.47,
"l": 35.882
},
"oklch": {
"l": 0.42066,
"c": 0.1692,
"h": 309
},
"luminance": 0.06374
}Semantic roles & 50–950 ramp
primary
#682691
secondary
#7EBA59
accent
#E24682
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80