#5332CB#5332CB
#5332CB is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.219 H 283.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5332CB |
|---|---|
| RGB | rgb(83, 50, 203) |
| HSL | hsl(253, 60%, 50%) |
| HSV | hsv(253, 75%, 80%) |
| CMYK | cmyk(59.1%, 75.4%, 0%, 20.4%) |
| CIE-LAB | lab(34.86, 53.83, -73.77) |
| CIE-LCH | lch(34.86, 91.33, 306.12°) |
| OKLab | oklab(46.24% 0.0518 -0.2126) |
| OKLCH | oklch(46.24% 0.219 283.7) |
| XYZ | xyz(15.4841, 8.4310, 57.2997) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.54
Blue With A Hint Of Purple
#533CC6
ΔE00 2.22
Purple Blue
#5D21D0
ΔE00 2.93
Bluey Purple
#6241C7
ΔE00 3.94
Purpley Blue
#5F34E7
ΔE00 4.15
Burple
#6832E3
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5332CB #AACB32
analogous
#325ECB #5332CB #9F32CB
triadic
#5332CB #CB5332 #32CB53
tetradic
#5332CB #CB325E #AACB32 #32CB9F
square
#5332CB #CB325E #AACB32 #32CB9F
split-complementary
#5332CB #CB9F32 #5ECB32
monochromatic
#2B1A69 #3F269A #5332CB #7B62D8 #A593E4
Accessibility & contrast
On white
7.82
#5332CB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#5332CB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5332CB
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5332CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5332CB | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#004DC8
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #5332cb; /* rgb */ color: rgb(83, 50, 203); /* oklch */ color: oklch(46.2% 0.219 283.7);
Tailwind
colors: {
custom: {
50: '#916edc',
500: '#5332cb',
950: '#000000',
},
}SCSS
$custom: #5332cb; $custom-light: #916edc; $custom-dark: #000000;
JSON
{
"hex": "#5332cb",
"rgb": {
"r": 83,
"g": 50,
"b": 203
},
"hsl": {
"h": 252.941,
"s": 60.474,
"l": 49.608
},
"oklch": {
"l": 0.46243,
"c": 0.21883,
"h": 283.7
},
"luminance": 0.08432
}Semantic roles & 50–950 ramp
primary
#5332CB
secondary
#C0CF89
accent
#E444C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83