#6B2599#6B2599
#6B2599 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.179 H 307.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2599 |
|---|---|
| RGB | rgb(107, 37, 153) |
| HSL | hsl(276, 61%, 37%) |
| HSV | hsv(276, 76%, 60%) |
| CMYK | cmyk(30.1%, 75.8%, 0%, 40%) |
| CIE-LAB | lab(31.23, 50.52, -49.83) |
| CIE-LCH | lch(31.23, 70.96, 315.39°) |
| OKLab | oklab(42.98% 0.1103 -0.1415) |
| OKLCH | oklch(42.98% 0.179 307.9) |
| XYZ | xyz(12.4735, 6.7490, 30.7764) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.89
Purple (survey)
#7E1E9C
ΔE00 3.55
Purple
#800080
ΔE00 7.54
Darkmagenta
#8B008B
ΔE00 7.63
Indigo
#4B0082
ΔE00 8.02
Darkish Purple
#751973
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2599 #539925
analogous
#312599 #6B2599 #99258D
triadic
#6B2599 #996B25 #25996B
tetradic
#6B2599 #993125 #539925 #258D99
square
#6B2599 #993125 #539925 #258D99
split-complementary
#6B2599 #8D9925 #259931
monochromatic
#260D36 #491968 #6B2599 #8D31CA #A960D9
Accessibility & contrast
On white
8.94
#6B2599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#6B2599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2599
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2599 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#64415D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6b2599; /* rgb */ color: rgb(107, 37, 153); /* oklch */ color: oklch(43.0% 0.179 307.9);
Tailwind
colors: {
custom: {
50: '#9a67b8',
500: '#6b2599',
950: '#000000',
},
}SCSS
$custom: #6b2599; $custom-light: #9a67b8; $custom-dark: #000000;
JSON
{
"hex": "#6b2599",
"rgb": {
"r": 107,
"g": 37,
"b": 153
},
"hsl": {
"h": 276.207,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.4298,
"c": 0.17937,
"h": 307.9
},
"luminance": 0.06749
}Semantic roles & 50–950 ramp
primary
#6B2599
secondary
#83BE5C
accent
#E44483
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80