#682599#682599
#682599 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.179 H 306.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #682599 |
|---|---|
| RGB | rgb(104, 37, 153) |
| HSL | hsl(275, 61%, 37%) |
| HSV | hsv(275, 76%, 60%) |
| CMYK | cmyk(32%, 75.8%, 0%, 40%) |
| CIE-LAB | lab(30.80, 49.94, -50.54) |
| CIE-LCH | lch(30.80, 71.06, 314.66°) |
| OKLab | oklab(42.59% 0.106 -0.1437) |
| OKLCH | oklch(42.59% 0.179 306.4) |
| XYZ | xyz(12.1190, 6.5662, 30.7598) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.81
Purple (survey)
#7E1E9C
ΔE00 4.12
Indigo
#4B0082
ΔE00 7.65
Purple
#800080
ΔE00 7.97
Darkmagenta
#8B008B
ΔE00 8.15
Purple Blue
#5D21D0
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#682599 #569925
analogous
#2E2599 #682599 #992590
triadic
#682599 #996825 #259968
tetradic
#682599 #992E25 #569925 #259099
square
#682599 #992E25 #569925 #259099
split-complementary
#682599 #909925 #25992E
monochromatic
#250D36 #471968 #682599 #8931CA #A660D9
Accessibility & contrast
On white
9.08
#682599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#682599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #682599
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##682599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##682599 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#5F415D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #682599; /* rgb */ color: rgb(104, 37, 153); /* oklch */ color: oklch(42.6% 0.179 306.4);
Tailwind
colors: {
custom: {
50: '#9867b8',
500: '#682599',
950: '#000000',
},
}SCSS
$custom: #682599; $custom-light: #9867b8; $custom-dark: #000000;
JSON
{
"hex": "#682599",
"rgb": {
"r": 104,
"g": 37,
"b": 153
},
"hsl": {
"h": 274.655,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.42585,
"c": 0.17858,
"h": 306.4
},
"luminance": 0.06566
}Semantic roles & 50–950 ramp
primary
#682599
secondary
#85BE5C
accent
#E44487
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80