#5C2DD3#5C2DD3
#5C2DD3 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.231 H 286.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2DD3 |
|---|---|
| RGB | rgb(92, 45, 211) |
| HSL | hsl(257, 65%, 50%) |
| HSV | hsv(257, 79%, 83%) |
| CMYK | cmyk(56.4%, 78.7%, 0%, 17.3%) |
| CIE-LAB | lab(35.70, 59.45, -77.00) |
| CIE-LCH | lch(35.70, 97.28, 307.67°) |
| OKLab | oklab(47.27% 0.0659 -0.2217) |
| OKLCH | oklch(47.27% 0.231 286.6) |
| XYZ | xyz(17.1064, 8.8543, 62.4230) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 1.93
Blurple
#5539CC
ΔE00 2.52
Burple
#6832E3
ΔE00 3.09
Purpley Blue
#5F34E7
ΔE00 3.18
Blue With A Hint Of Purple
#533CC6
ΔE00 3.49
Purply Blue
#661AEE
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2DD3 #A4D32D
analogous
#2D51D3 #5C2DD3 #AF2DD3
triadic
#5C2DD3 #D35C2D #2DD35C
tetradic
#5C2DD3 #D32D51 #A4D32D #2DD3AF
square
#5C2DD3 #D32D51 #A4D32D #2DD3AF
split-complementary
#5C2DD3 #D3AF2D #51D32D
monochromatic
#30176E #4622A1 #5C2DD3 #8360DE #AB92E8
Accessibility & contrast
On white
7.58
#5C2DD3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#5C2DD3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2DD3
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2DD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2DD3 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058D8
Deuteranopia (green-blind)
#004FD0
Tritanopia (blue-blind)
#225E80
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #5c2dd3; /* rgb */ color: rgb(92, 45, 211); /* oklch */ color: oklch(47.3% 0.231 286.6);
Tailwind
colors: {
custom: {
50: '#976de2',
500: '#5c2dd3',
950: '#000000',
},
}SCSS
$custom: #5c2dd3; $custom-light: #976de2; $custom-dark: #000000;
JSON
{
"hex": "#5c2dd3",
"rgb": {
"r": 92,
"g": 45,
"b": 211
},
"hsl": {
"h": 256.988,
"s": 65.354,
"l": 50.196
},
"oklch": {
"l": 0.47267,
"c": 0.23135,
"h": 286.6
},
"luminance": 0.08855
}Semantic roles & 50–950 ramp
primary
#5C2DD3
secondary
#BED389
accent
#E83FB9
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84