#5936CD#5936CD
#5936CD is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.4% C 0.217 H 285.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5936CD |
|---|---|
| RGB | rgb(89, 54, 205) |
| HSL | hsl(254, 60%, 51%) |
| HSV | hsv(254, 74%, 80%) |
| CMYK | cmyk(56.6%, 73.7%, 0%, 19.6%) |
| CIE-LAB | lab(36.31, 53.21, -72.54) |
| CIE-LCH | lch(36.31, 89.96, 306.26°) |
| OKLab | oklab(47.45% 0.0571 -0.2089) |
| OKLCH | oklch(47.45% 0.217 285.3) |
| XYZ | xyz(16.4551, 9.1690, 58.6485) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 0.86
Blue With A Hint Of Purple
#533CC6
ΔE00 1.79
Bluey Purple
#6241C7
ΔE00 2.83
Purpley Blue
#5F34E7
ΔE00 3.40
Purple Blue
#5D21D0
ΔE00 3.47
Burple
#6832E3
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5936CD #AACD36
analogous
#365ECD #5936CD #A436CD
triadic
#5936CD #CD5936 #36CD59
tetradic
#5936CD #CD365E #AACD36 #36CDA4
square
#5936CD #CD365E #AACD36 #36CDA4
split-complementary
#5936CD #CDA436 #5ECD36
monochromatic
#2E1B6D #43279E #5936CD #8167D9 #AA98E5
Accessibility & contrast
On white
7.41
#5936CD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#5936CD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5936CD
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5936CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5936CD | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#1F607F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5936cd; /* rgb */ color: rgb(89, 54, 205); /* oklch */ color: oklch(47.4% 0.217 285.3);
Tailwind
colors: {
custom: {
50: '#9471dd',
500: '#5936cd',
950: '#000000',
},
}SCSS
$custom: #5936cd; $custom-light: #9471dd; $custom-dark: #000000;
JSON
{
"hex": "#5936cd",
"rgb": {
"r": 89,
"g": 54,
"b": 205
},
"hsl": {
"h": 253.907,
"s": 60.159,
"l": 50.784
},
"oklch": {
"l": 0.47449,
"c": 0.21653,
"h": 285.3
},
"luminance": 0.0917
}Semantic roles & 50–950 ramp
primary
#5936CD
secondary
#C1D18E
accent
#E344BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83