#5941CE#5941CE
#5941CE is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.0% C 0.206 H 283.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5941CE |
|---|---|
| RGB | rgb(89, 65, 206) |
| HSL | hsl(250, 59%, 53%) |
| HSV | hsv(250, 68%, 81%) |
| CMYK | cmyk(56.8%, 68.4%, 0%, 19.2%) |
| CIE-LAB | lab(38.48, 47.70, -69.56) |
| CIE-LCH | lch(38.48, 84.34, 304.44°) |
| OKLab | oklab(49.02% 0.0482 -0.2002) |
| OKLCH | oklch(49.02% 0.206 283.5) |
| XYZ | xyz(17.1473, 10.3596, 59.4766) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.68
Blue With A Hint Of Purple
#533CC6
ΔE00 1.90
Blurple
#5539CC
ΔE00 1.99
Ocean Blue
#4F42B5
ΔE00 3.84
Purpley Blue
#5F34E7
ΔE00 3.85
Burple
#6832E3
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5941CE #B6CE41
analogous
#416FCE #5941CE #A041CE
triadic
#5941CE #CE5941 #41CE59
tetradic
#5941CE #CE416F #B6CE41 #41CEA0
square
#5941CE #CE416F #B6CE41 #41CEA0
split-complementary
#5941CE #CEA041 #6FCE41
monochromatic
#2D1E76 #402BA7 #5941CE #8472DB #AEA2E7
Accessibility & contrast
On white
6.84
#5941CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#5941CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5941CE
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5941CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5941CE | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#1B6682
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5941ce; /* rgb */ color: rgb(89, 65, 206); /* oklch */ color: oklch(49.0% 0.206 283.5);
Tailwind
colors: {
custom: {
50: '#9478de',
500: '#5941ce',
950: '#000000',
},
}SCSS
$custom: #5941ce; $custom-light: #9478de; $custom-dark: #000000;
JSON
{
"hex": "#5941ce",
"rgb": {
"r": 89,
"g": 65,
"b": 206
},
"hsl": {
"h": 250.213,
"s": 58.996,
"l": 53.137
},
"oklch": {
"l": 0.49022,
"c": 0.20591,
"h": 283.5
},
"luminance": 0.10361
}Semantic roles & 50–950 ramp
primary
#5941CE
secondary
#C9D497
accent
#E246C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83