#5339C2#5339C2
#5339C2 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.3% C 0.201 H 284.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5339C2 |
|---|---|
| RGB | rgb(83, 57, 194) |
| HSL | hsl(251, 55%, 49%) |
| HSV | hsv(251, 71%, 76%) |
| CMYK | cmyk(57.2%, 70.6%, 0%, 23.9%) |
| CIE-LAB | lab(35.32, 47.58, -67.77) |
| CIE-LCH | lch(35.32, 82.80, 305.07°) |
| OKLab | oklab(46.31% 0.0486 -0.1951) |
| OKLCH | oklch(46.31% 0.201 284) |
| XYZ | xyz(14.7650, 8.6594, 51.9219) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 0.93
Blurple
#5539CC
ΔE00 1.38
Bluey Purple
#6241C7
ΔE00 3.04
Ocean Blue
#4F42B5
ΔE00 3.05
Purple Blue
#5D21D0
ΔE00 4.53
Purpley Blue
#5F34E7
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5339C2 #A8C239
analogous
#3964C2 #5339C2 #9839C2
triadic
#5339C2 #C25339 #39C253
tetradic
#5339C2 #C23964 #A8C239 #39C298
square
#5339C2 #C23964 #A8C239 #39C298
split-complementary
#5339C2 #C29839 #64C239
monochromatic
#2B1D63 #3F2B93 #5339C2 #7B66D2 #A495E0
Accessibility & contrast
On white
7.69
#5339C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#5339C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5339C2
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5339C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5339C2 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#185E79
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #5339c2; /* rgb */ color: rgb(83, 57, 194); /* oklch */ color: oklch(46.3% 0.201 284.0);
Tailwind
colors: {
custom: {
50: '#8f72d6',
500: '#5339c2',
950: '#000000',
},
}SCSS
$custom: #5339c2; $custom-light: #8f72d6; $custom-dark: #000000;
JSON
{
"hex": "#5339c2",
"rgb": {
"r": 83,
"g": 57,
"b": 194
},
"hsl": {
"h": 251.387,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.46312,
"c": 0.20107,
"h": 284
},
"luminance": 0.0866
}Semantic roles & 50–950 ramp
primary
#5339C2
secondary
#BFCB8B
accent
#DE4AC2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83