#682F71#682F71
#682F71 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.0% C 0.122 H 322.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #682F71 |
|---|---|
| RGB | rgb(104, 47, 113) |
| HSL | hsl(292, 41%, 31%) |
| HSV | hsv(292, 58%, 44%) |
| CMYK | cmyk(8%, 58.4%, 0%, 55.7%) |
| CIE-LAB | lab(29.83, 36.14, -27.17) |
| CIE-LCH | lch(29.83, 45.22, 323.07°) |
| OKLab | oklab(41.04% 0.0965 -0.0753) |
| OKLCH | oklch(41.04% 0.122 322) |
| XYZ | xyz(9.7058, 6.1688, 16.2990) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.67
Grape
#6C3461
ΔE00 5.59
Purple
#800080
ΔE00 7.16
Bruise
#7E4071
ΔE00 7.49
Grape Purple
#5D1451
ΔE00 7.63
Darkmagenta
#8B008B
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#682F71 #38712F
analogous
#472F71 #682F71 #712F59
triadic
#682F71 #71682F #2F7168
tetradic
#682F71 #71472F #38712F #2F5971
square
#682F71 #71472F #38712F #2F5971
split-complementary
#682F71 #59712F #2F7147
monochromatic
#180B1B #401D46 #682F71 #90419C #AF5EBC
Accessibility & contrast
On white
9.40
#682F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#682F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #682F71
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##682F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##682F71 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#37496F
Tritanopia (blue-blind)
#69384B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #682f71; /* rgb */ color: rgb(104, 47, 113); /* oklch */ color: oklch(41.0% 0.122 322.0);
Tailwind
colors: {
custom: {
50: '#956b9a',
500: '#682f71',
950: '#000000',
},
}SCSS
$custom: #682f71; $custom-light: #956b9a; $custom-dark: #000000;
JSON
{
"hex": "#682f71",
"rgb": {
"r": 104,
"g": 47,
"b": 113
},
"hsl": {
"h": 291.818,
"s": 41.25,
"l": 31.373
},
"oklch": {
"l": 0.41035,
"c": 0.12241,
"h": 322
},
"luminance": 0.06168
}Semantic roles & 50–950 ramp
primary
#682F71
secondary
#63A25A
accent
#D15767
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E