#5D43C2#5D43C2
#5D43C2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.188 H 286.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5D43C2 |
|---|---|
| RGB | rgb(93, 67, 194) |
| HSL | hsl(252, 51%, 51%) |
| HSV | hsv(252, 65%, 76%) |
| CMYK | cmyk(52.1%, 65.5%, 0%, 23.9%) |
| CIE-LAB | lab(38.26, 43.65, -62.92) |
| CIE-LCH | lch(38.26, 76.58, 304.75°) |
| OKLab | oklab(48.65% 0.0536 -0.1806) |
| OKLCH | oklch(48.65% 0.188 286.5) |
| XYZ | xyz(16.2561, 10.2357, 52.1476) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.17
Blue With A Hint Of Purple
#533CC6
ΔE00 2.26
Blurple
#5539CC
ΔE00 2.84
Ocean Blue
#4F42B5
ΔE00 2.91
Purpley Blue
#5F34E7
ΔE00 5.29
Burple
#6832E3
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D43C2 #A8C243
analogous
#4368C2 #5D43C2 #9C43C2
triadic
#5D43C2 #C25D43 #43C25D
tetradic
#5D43C2 #C24368 #A8C243 #43C29C
square
#5D43C2 #C24368 #A8C243 #43C29C
split-complementary
#5D43C2 #C29C43 #68C243
monochromatic
#302269 #463197 #5D43C2 #8571D1 #AD9FE0
Accessibility & contrast
On white
6.89
#5D43C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#5D43C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D43C2
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D43C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D43C2 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#36627C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5d43c2; /* rgb */ color: rgb(93, 67, 194); /* oklch */ color: oklch(48.6% 0.188 286.5);
Tailwind
colors: {
custom: {
50: '#9479d5',
500: '#5d43c2',
950: '#000000',
},
}SCSS
$custom: #5d43c2; $custom-light: #9479d5; $custom-dark: #000000;
JSON
{
"hex": "#5d43c2",
"rgb": {
"r": 93,
"g": 67,
"b": 194
},
"hsl": {
"h": 252.283,
"s": 51.004,
"l": 51.176
},
"oklch": {
"l": 0.48646,
"c": 0.18836,
"h": 286.5
},
"luminance": 0.10237
}Semantic roles & 50–950 ramp
primary
#5D43C2
secondary
#C1CC94
accent
#DA4DBE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83