#5C2BD3#5C2BD3
#5C2BD3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.233 H 286.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2BD3 |
|---|---|
| RGB | rgb(92, 43, 211) |
| HSL | hsl(258, 66%, 50%) |
| HSV | hsv(258, 80%, 83%) |
| CMYK | cmyk(56.4%, 79.6%, 0%, 17.3%) |
| CIE-LAB | lab(35.41, 60.29, -77.49) |
| CIE-LCH | lch(35.41, 98.18, 307.89°) |
| OKLab | oklab(47.07% 0.0672 -0.2231) |
| OKLCH | oklch(47.07% 0.233 286.8) |
| XYZ | xyz(17.0319, 8.7052, 62.3982) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 1.61
Blurple
#5539CC
ΔE00 2.81
Burple
#6832E3
ΔE00 3.28
Purpley Blue
#5F34E7
ΔE00 3.40
Purply Blue
#661AEE
ΔE00 3.53
Blue Violet
#5D06E9
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2BD3 #A2D32B
analogous
#2B4ED3 #5C2BD3 #B02BD3
triadic
#5C2BD3 #D35C2B #2BD35C
tetradic
#5C2BD3 #D32B4E #A2D32B #2BD3B0
square
#5C2BD3 #D32B4E #A2D32B #2BD3B0
split-complementary
#5C2BD3 #D3B02B #4ED32B
monochromatic
#30166D #4621A0 #5C2BD3 #835DDE #AA90E8
Accessibility & contrast
On white
7.66
#5C2BD3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#5C2BD3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2BD3
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2BD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2BD3 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057D8
Deuteranopia (green-blind)
#004ED0
Tritanopia (blue-blind)
#225D80
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #5c2bd3; /* rgb */ color: rgb(92, 43, 211); /* oklch */ color: oklch(47.1% 0.233 286.8);
Tailwind
colors: {
custom: {
50: '#976ce2',
500: '#5c2bd3',
950: '#000000',
},
}SCSS
$custom: #5c2bd3; $custom-light: #976ce2; $custom-dark: #000000;
JSON
{
"hex": "#5c2bd3",
"rgb": {
"r": 92,
"g": 43,
"b": 211
},
"hsl": {
"h": 257.5,
"s": 66.142,
"l": 49.804
},
"oklch": {
"l": 0.47065,
"c": 0.23302,
"h": 286.8
},
"luminance": 0.08706
}Semantic roles & 50–950 ramp
primary
#5C2BD3
secondary
#BDD387
accent
#E93FB7
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84