#682A9A#682A9A
#682A9A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.174 H 305.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #682A9A |
|---|---|
| RGB | rgb(104, 42, 154) |
| HSL | hsl(273, 57%, 38%) |
| HSV | hsv(273, 73%, 60%) |
| CMYK | cmyk(32.5%, 72.7%, 0%, 39.6%) |
| CIE-LAB | lab(31.65, 47.98, -49.77) |
| CIE-LCH | lch(31.65, 69.13, 313.95°) |
| OKLab | oklab(43.21% 0.1009 -0.1414) |
| OKLCH | oklch(43.21% 0.174 305.5) |
| XYZ | xyz(12.3683, 6.9322, 31.2520) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.92
Purple (survey)
#7E1E9C
ΔE00 4.30
Purple Blue
#5D21D0
ΔE00 8.10
Indigo
#4B0082
ΔE00 8.35
Purple
#800080
ΔE00 8.43
Violet Blue
#510AC9
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#682A9A #5C9A2A
analogous
#302A9A #682A9A #9A2A94
triadic
#682A9A #9A682A #2A9A68
tetradic
#682A9A #9A302A #5C9A2A #2A949A
square
#682A9A #9A302A #5C9A2A #2A949A
split-complementary
#682A9A #949A2A #2A9A30
monochromatic
#27103A #481D6A #682A9A #8838C9 #A568D6
Accessibility & contrast
On white
8.80
#682A9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#682A9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #682A9A
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##682A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##682A9A | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#5F445F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #682a9a; /* rgb */ color: rgb(104, 42, 154); /* oklch */ color: oklch(43.2% 0.174 305.5);
Tailwind
colors: {
custom: {
50: '#9869b9',
500: '#682a9a',
950: '#000000',
},
}SCSS
$custom: #682a9a; $custom-light: #9869b9; $custom-dark: #000000;
JSON
{
"hex": "#682a9a",
"rgb": {
"r": 104,
"g": 42,
"b": 154
},
"hsl": {
"h": 273.214,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.43214,
"c": 0.17372,
"h": 305.5
},
"luminance": 0.06932
}Semantic roles & 50–950 ramp
primary
#682A9A
secondary
#8BBC63
accent
#E0478C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80