#5E2FD3#5E2FD3
#5E2FD3 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.229 H 287.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5E2FD3 |
|---|---|
| RGB | rgb(94, 47, 211) |
| HSL | hsl(257, 65%, 51%) |
| HSV | hsv(257, 78%, 83%) |
| CMYK | cmyk(55.5%, 77.7%, 0%, 17.3%) |
| CIE-LAB | lab(36.20, 58.81, -76.17) |
| CIE-LCH | lch(36.20, 96.23, 307.67°) |
| OKLab | oklab(47.66% 0.0676 -0.2193) |
| OKLCH | oklch(47.66% 0.229 287.1) |
| XYZ | xyz(17.3870, 9.1149, 62.4586) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.31
Blurple
#5539CC
ΔE00 2.36
Burple
#6832E3
ΔE00 2.76
Purpley Blue
#5F34E7
ΔE00 2.92
Blue With A Hint Of Purple
#533CC6
ΔE00 3.34
Purply Blue
#661AEE
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E2FD3 #A4D32F
analogous
#2F52D3 #5E2FD3 #B02FD3
triadic
#5E2FD3 #D35E2F #2FD35E
tetradic
#5E2FD3 #D32F52 #A4D32F #2FD3B0
square
#5E2FD3 #D32F52 #A4D32F #2FD3B0
split-complementary
#5E2FD3 #D3B02F #52D32F
monochromatic
#311870 #4722A2 #5E2FD3 #8562DE #AC94E8
Accessibility & contrast
On white
7.44
#5E2FD3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#5E2FD3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E2FD3
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E2FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E2FD3 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059D8
Deuteranopia (green-blind)
#0051D0
Tritanopia (blue-blind)
#295F81
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5e2fd3; /* rgb */ color: rgb(94, 47, 211); /* oklch */ color: oklch(47.7% 0.229 287.1);
Tailwind
colors: {
custom: {
50: '#986ee2',
500: '#5e2fd3',
950: '#000000',
},
}SCSS
$custom: #5e2fd3; $custom-light: #986ee2; $custom-dark: #000000;
JSON
{
"hex": "#5e2fd3",
"rgb": {
"r": 94,
"g": 47,
"b": 211
},
"hsl": {
"h": 257.195,
"s": 65.079,
"l": 50.588
},
"oklch": {
"l": 0.47664,
"c": 0.22947,
"h": 287.1
},
"luminance": 0.09116
}Semantic roles & 50–950 ramp
primary
#5E2FD3
secondary
#BED38A
accent
#E840B8
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#0F0716
muted
#7F7A84