#5C2EBD#5C2EBD
#5C2EBD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.206 H 290.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2EBD |
|---|---|
| RGB | rgb(92, 46, 189) |
| HSL | hsl(259, 61%, 46%) |
| HSV | hsv(259, 76%, 74%) |
| CMYK | cmyk(51.3%, 75.7%, 0%, 25.9%) |
| CIE-LAB | lab(33.78, 53.05, -67.32) |
| CIE-LCH | lch(33.78, 85.71, 308.24°) |
| OKLab | oklab(45.3% 0.0716 -0.1934) |
| OKLCH | oklch(45.3% 0.206 290.3) |
| XYZ | xyz(14.5733, 7.9028, 48.8918) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.85
Blurple
#5539CC
ΔE00 3.41
Blue With A Hint Of Purple
#533CC6
ΔE00 3.68
Bluey Purple
#6241C7
ΔE00 4.60
Violet Blue
#510AC9
ΔE00 4.73
Ocean Blue
#4F42B5
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2EBD #8FBD2E
analogous
#2E47BD #5C2EBD #A32EBD
triadic
#5C2EBD #BD5C2E #2EBD5C
tetradic
#5C2EBD #BD2E47 #8FBD2E #2EBDA3
square
#5C2EBD #BD2E47 #8FBD2E #2EBDA3
split-complementary
#5C2EBD #BDA32E #47BD2E
monochromatic
#2C165B #44228C #5C2EBD #7D53D5 #A284E1
Accessibility & contrast
On white
8.14
#5C2EBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#5C2EBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2EBD
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2EBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2EBD | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#395674
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #5c2ebd; /* rgb */ color: rgb(92, 46, 189); /* oklch */ color: oklch(45.3% 0.206 290.3);
Tailwind
colors: {
custom: {
50: '#946cd2',
500: '#5c2ebd',
950: '#000000',
},
}SCSS
$custom: #5c2ebd; $custom-light: #946cd2; $custom-dark: #000000;
JSON
{
"hex": "#5c2ebd",
"rgb": {
"r": 92,
"g": 46,
"b": 189
},
"hsl": {
"h": 259.301,
"s": 60.851,
"l": 46.078
},
"oklch": {
"l": 0.45297,
"c": 0.20626,
"h": 290.3
},
"luminance": 0.07903
}Semantic roles & 50–950 ramp
primary
#5C2EBD
secondary
#B1CA7C
accent
#E444B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83