#6C2599#6C2599
#6C2599 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.180 H 308.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2599 |
|---|---|
| RGB | rgb(108, 37, 153) |
| HSL | hsl(277, 61%, 37%) |
| HSV | hsv(277, 76%, 60%) |
| CMYK | cmyk(29.4%, 75.8%, 0%, 40%) |
| CIE-LAB | lab(31.37, 50.71, -49.58) |
| CIE-LCH | lch(31.37, 70.92, 315.64°) |
| OKLab | oklab(43.11% 0.1117 -0.1407) |
| OKLCH | oklch(43.11% 0.18 308.4) |
| XYZ | xyz(12.5945, 6.8114, 30.7821) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.94
Purple (survey)
#7E1E9C
ΔE00 3.36
Purple
#800080
ΔE00 7.41
Darkmagenta
#8B008B
ΔE00 7.45
Indigo
#4B0082
ΔE00 8.16
Darkish Purple
#751973
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2599 #529925
analogous
#322599 #6C2599 #99258C
triadic
#6C2599 #996C25 #25996C
tetradic
#6C2599 #993225 #529925 #258C99
square
#6C2599 #993225 #529925 #258C99
split-complementary
#6C2599 #8C9925 #259932
monochromatic
#260D36 #491968 #6C2599 #8F31CA #AA60D9
Accessibility & contrast
On white
8.89
#6C2599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#6C2599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2599
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2599 | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#65415D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6c2599; /* rgb */ color: rgb(108, 37, 153); /* oklch */ color: oklch(43.1% 0.180 308.4);
Tailwind
colors: {
custom: {
50: '#9b67b8',
500: '#6c2599',
950: '#000000',
},
}SCSS
$custom: #6c2599; $custom-light: #9b67b8; $custom-dark: #000000;
JSON
{
"hex": "#6c2599",
"rgb": {
"r": 108,
"g": 37,
"b": 153
},
"hsl": {
"h": 276.724,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.43112,
"c": 0.17965,
"h": 308.4
},
"luminance": 0.06811
}Semantic roles & 50–950 ramp
primary
#6C2599
secondary
#82BE5C
accent
#E44482
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80