#5D2699#5D2699
#5D2699 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.175 H 300.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5D2699 |
|---|---|
| RGB | rgb(93, 38, 153) |
| HSL | hsl(269, 60%, 37%) |
| HSV | hsv(269, 75%, 60%) |
| CMYK | cmyk(39.2%, 75.2%, 0%, 40%) |
| CIE-LAB | lab(29.45, 47.45, -52.81) |
| CIE-LCH | lch(29.45, 71.00, 311.94°) |
| OKLab | oklab(41.31% 0.0891 -0.1508) |
| OKLCH | oklch(41.31% 0.175 300.6) |
| XYZ | xyz(10.9557, 6.0132, 30.7143) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.28
Purple (survey)
#7E1E9C
ΔE00 6.20
Indigo
#4B0082
ΔE00 6.75
Indigo Blue
#3A18B1
ΔE00 6.79
Violet Blue
#510AC9
ΔE00 7.33
Purple Blue
#5D21D0
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D2699 #629926
analogous
#262899 #5D2699 #972699
triadic
#5D2699 #995D26 #26995D
tetradic
#5D2699 #992628 #629926 #269997
square
#5D2699 #992628 #629926 #269997
split-complementary
#5D2699 #999726 #289926
monochromatic
#210E37 #3F1A68 #5D2699 #7B32CA #9A62D8
Accessibility & contrast
On white
9.53
#5D2699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#5D2699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D2699
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D2699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D2699 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#4F435E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5d2699; /* rgb */ color: rgb(93, 38, 153); /* oklch */ color: oklch(41.3% 0.175 300.6);
Tailwind
colors: {
custom: {
50: '#9166b8',
500: '#5d2699',
950: '#000000',
},
}SCSS
$custom: #5d2699; $custom-light: #9166b8; $custom-dark: #000000;
JSON
{
"hex": "#5d2699",
"rgb": {
"r": 93,
"g": 38,
"b": 153
},
"hsl": {
"h": 268.696,
"s": 60.209,
"l": 37.451
},
"oklch": {
"l": 0.41308,
"c": 0.1751,
"h": 300.6
},
"luminance": 0.06013
}Semantic roles & 50–950 ramp
primary
#5D2699
secondary
#8FBD5E
accent
#E34497
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80