#5936B2#5936B2
#5936B2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.185 H 289.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5936B2 |
|---|---|
| RGB | rgb(89, 54, 178) |
| HSL | hsl(257, 53%, 45%) |
| HSV | hsv(257, 70%, 70%) |
| CMYK | cmyk(50%, 69.7%, 0%, 30.2%) |
| CIE-LAB | lab(33.93, 45.47, -60.58) |
| CIE-LCH | lch(33.93, 75.74, 306.89°) |
| OKLab | oklab(45.04% 0.0628 -0.1738) |
| OKLCH | oklch(45.04% 0.185 289.9) |
| XYZ | xyz(13.4726, 7.9760, 42.9405) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 3.41
Ocean Blue
#4F42B5
ΔE00 3.75
Blurple
#5539CC
ΔE00 3.78
Bluey Purple
#6241C7
ΔE00 4.25
Purple Blue
#5D21D0
ΔE00 5.01
Rebeccapurple
#663399
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5936B2 #8FB236
analogous
#3651B2 #5936B2 #9736B2
triadic
#5936B2 #B25936 #36B259
tetradic
#5936B2 #B23651 #8FB236 #36B297
square
#5936B2 #B23651 #8FB236 #36B297
split-complementary
#5936B2 #B29736 #51B236
monochromatic
#2A1A54 #422883 #5936B2 #7959CD #9F88DB
Accessibility & contrast
On white
8.09
#5936B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#5936B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5936B2
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5936B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5936B2 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#3A5670
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5936b2; /* rgb */ color: rgb(89, 54, 178); /* oklch */ color: oklch(45.0% 0.185 289.9);
Tailwind
colors: {
custom: {
50: '#9070ca',
500: '#5936b2',
950: '#000000',
},
}SCSS
$custom: #5936b2; $custom-light: #9070ca; $custom-dark: #000000;
JSON
{
"hex": "#5936b2",
"rgb": {
"r": 89,
"g": 54,
"b": 178
},
"hsl": {
"h": 256.935,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.45036,
"c": 0.18477,
"h": 289.9
},
"luminance": 0.07977
}Semantic roles & 50–950 ramp
primary
#5936B2
secondary
#B1C57F
accent
#DD4BB4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0813
muted
#7E7B82