#682A9B#682A9B
#682A9B is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.175 H 305.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #682A9B |
|---|---|
| RGB | rgb(104, 42, 155) |
| HSL | hsl(273, 57%, 39%) |
| HSV | hsv(273, 73%, 61%) |
| CMYK | cmyk(32.9%, 72.9%, 0%, 39.2%) |
| CIE-LAB | lab(31.73, 48.22, -50.25) |
| CIE-LCH | lch(31.73, 69.64, 313.81°) |
| OKLab | oklab(43.29% 0.1007 -0.1429) |
| OKLCH | oklch(43.29% 0.175 305.2) |
| XYZ | xyz(12.4520, 6.9656, 31.6925) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.93
Purple (survey)
#7E1E9C
ΔE00 4.34
Purple Blue
#5D21D0
ΔE00 7.94
Violet Blue
#510AC9
ΔE00 8.33
Indigo
#4B0082
ΔE00 8.40
Purple
#800080
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#682A9B #5D9B2A
analogous
#2F2A9B #682A9B #9B2A95
triadic
#682A9B #9B682A #2A9B68
tetradic
#682A9B #9B2F2A #5D9B2A #2A959B
square
#682A9B #9B2F2A #5D9B2A #2A959B
split-complementary
#682A9B #959B2A #2A9B2F
monochromatic
#27103B #481D6B #682A9B #8839C9 #A569D6
Accessibility & contrast
On white
8.77
#682A9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#682A9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #682A9B
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##682A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##682A9B | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#5F4560
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #682a9b; /* rgb */ color: rgb(104, 42, 155); /* oklch */ color: oklch(43.3% 0.175 305.2);
Tailwind
colors: {
custom: {
50: '#9869b9',
500: '#682a9b',
950: '#000000',
},
}SCSS
$custom: #682a9b; $custom-light: #9869b9; $custom-dark: #000000;
JSON
{
"hex": "#682a9b",
"rgb": {
"r": 104,
"g": 42,
"b": 155
},
"hsl": {
"h": 272.92,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.43292,
"c": 0.17478,
"h": 305.2
},
"luminance": 0.06966
}Semantic roles & 50–950 ramp
primary
#682A9B
secondary
#8CBD64
accent
#E1478C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81