#5336CD#5336CD
#5336CD is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.9% C 0.217 H 282.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5336CD |
|---|---|
| RGB | rgb(83, 54, 205) |
| HSL | hsl(252, 60%, 51%) |
| HSV | hsv(252, 74%, 80%) |
| CMYK | cmyk(59.5%, 73.7%, 0%, 19.6%) |
| CIE-LAB | lab(35.76, 52.41, -73.46) |
| CIE-LCH | lch(35.76, 90.24, 305.51°) |
| OKLab | oklab(46.93% 0.0486 -0.2117) |
| OKLCH | oklch(46.93% 0.217 282.9) |
| XYZ | xyz(15.9025, 8.8840, 58.6226) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 0.69
Blue With A Hint Of Purple
#533CC6
ΔE00 1.54
Bluey Purple
#6241C7
ΔE00 3.31
Purple Blue
#5D21D0
ΔE00 3.67
Purpley Blue
#5F34E7
ΔE00 3.74
Burple
#6832E3
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5336CD #B0CD36
analogous
#3664CD #5336CD #9E36CD
triadic
#5336CD #CD5336 #36CD53
tetradic
#5336CD #CD3664 #B0CD36 #36CD9E
square
#5336CD #CD3664 #B0CD36 #36CD9E
split-complementary
#5336CD #CD9E36 #64CD36
monochromatic
#2B1B6D #3E279E #5336CD #7D67D9 #A798E5
Accessibility & contrast
On white
7.56
#5336CD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#5336CD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5336CD
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5336CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5336CD | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #5336cd; /* rgb */ color: rgb(83, 54, 205); /* oklch */ color: oklch(46.9% 0.217 282.9);
Tailwind
colors: {
custom: {
50: '#9170de',
500: '#5336cd',
950: '#000000',
},
}SCSS
$custom: #5336cd; $custom-light: #9170de; $custom-dark: #000000;
JSON
{
"hex": "#5336cd",
"rgb": {
"r": 83,
"g": 54,
"b": 205
},
"hsl": {
"h": 251.523,
"s": 60.159,
"l": 50.784
},
"oklch": {
"l": 0.4693,
"c": 0.21724,
"h": 282.9
},
"luminance": 0.08885
}Semantic roles & 50–950 ramp
primary
#5336CD
secondary
#C4D18E
accent
#E344C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83