#5E2FBE#5E2FBE
#5E2FBE is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.206 H 290.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5E2FBE |
|---|---|
| RGB | rgb(94, 47, 190) |
| HSL | hsl(260, 60%, 46%) |
| HSV | hsv(260, 75%, 75%) |
| CMYK | cmyk(50.5%, 75.3%, 0%, 25.5%) |
| CIE-LAB | lab(34.25, 53.14, -67.13) |
| CIE-LCH | lch(34.25, 85.62, 308.37°) |
| OKLab | oklab(45.71% 0.0735 -0.1928) |
| OKLCH | oklch(45.71% 0.206 290.9) |
| XYZ | xyz(14.9242, 8.1298, 49.4881) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.88
Blurple
#5539CC
ΔE00 3.27
Blue With A Hint Of Purple
#533CC6
ΔE00 3.58
Bluey Purple
#6241C7
ΔE00 4.30
Violet Blue
#510AC9
ΔE00 5.00
Burple
#6832E3
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E2FBE #8FBE2F
analogous
#2F48BE #5E2FBE #A62FBE
triadic
#5E2FBE #BE5E2F #2FBE5E
tetradic
#5E2FBE #BE2F48 #8FBE2F #2FBEA6
square
#5E2FBE #BE2F48 #8FBE2F #2FBEA6
split-complementary
#5E2FBE #BEA62F #48BE2F
monochromatic
#2D175C #46238D #5E2FBE #7F55D5 #A486E1
Accessibility & contrast
On white
8.00
#5E2FBE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#5E2FBE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E2FBE
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E2FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E2FBE | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#3D5675
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5e2fbe; /* rgb */ color: rgb(94, 47, 190); /* oklch */ color: oklch(45.7% 0.206 290.9);
Tailwind
colors: {
custom: {
50: '#956dd3',
500: '#5e2fbe',
950: '#000000',
},
}SCSS
$custom: #5e2fbe; $custom-light: #956dd3; $custom-dark: #000000;
JSON
{
"hex": "#5e2fbe",
"rgb": {
"r": 94,
"g": 47,
"b": 190
},
"hsl": {
"h": 259.72,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.45707,
"c": 0.20635,
"h": 290.9
},
"luminance": 0.0813
}Semantic roles & 50–950 ramp
primary
#5E2FBE
secondary
#B2CB7E
accent
#E344AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83