#682193#682193
#682193 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.177 H 308.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #682193 |
|---|---|
| RGB | rgb(104, 33, 147) |
| HSL | hsl(277, 63%, 35%) |
| HSV | hsv(277, 78%, 58%) |
| CMYK | cmyk(29.3%, 77.6%, 0%, 42.4%) |
| CIE-LAB | lab(29.76, 50.20, -48.56) |
| CIE-LCH | lch(29.76, 69.84, 315.95°) |
| OKLab | oklab(41.7% 0.111 -0.1378) |
| OKLCH | oklch(41.7% 0.177 308.9) |
| XYZ | xyz(11.5182, 6.1376, 28.1760) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.65
Purple (survey)
#7E1E9C
ΔE00 4.05
Indigo
#4B0082
ΔE00 6.99
Purple
#800080
ΔE00 7.06
Darkmagenta
#8B008B
ΔE00 7.52
Darkish Purple
#751973
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#682193 #4C9321
analogous
#2F2193 #682193 #932185
triadic
#682193 #936821 #219368
tetradic
#682193 #932F21 #4C9321 #218593
square
#682193 #932F21 #4C9321 #218593
split-complementary
#682193 #859321 #21932F
monochromatic
#210B2F #451661 #682193 #8B2CC5 #A755D9
Accessibility & contrast
On white
9.43
#682193 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#682193 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #682193
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##682193 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##682193 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#613D59
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #682193; /* rgb */ color: rgb(104, 33, 147); /* oklch */ color: oklch(41.7% 0.177 308.9);
Tailwind
colors: {
custom: {
50: '#9864b3',
500: '#682193',
950: '#000000',
},
}SCSS
$custom: #682193; $custom-light: #9864b3; $custom-dark: #000000;
JSON
{
"hex": "#682193",
"rgb": {
"r": 104,
"g": 33,
"b": 147
},
"hsl": {
"h": 277.368,
"s": 63.333,
"l": 35.294
},
"oklch": {
"l": 0.41704,
"c": 0.17699,
"h": 308.9
},
"luminance": 0.06137
}Semantic roles & 50–950 ramp
primary
#682193
secondary
#7BBD53
accent
#E64180
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80