#5F36CE#5F36CE
#5F36CE is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.217 H 287.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5F36CE |
|---|---|
| RGB | rgb(95, 54, 206) |
| HSL | hsl(256, 61%, 51%) |
| HSV | hsv(256, 74%, 81%) |
| CMYK | cmyk(53.9%, 73.8%, 0%, 19.2%) |
| CIE-LAB | lab(36.98, 54.32, -72.00) |
| CIE-LCH | lch(36.98, 90.19, 307.03°) |
| OKLab | oklab(48.09% 0.0655 -0.2071) |
| OKLCH | oklch(48.09% 0.217 287.5) |
| XYZ | xyz(17.1758, 9.5266, 59.3143) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.57
Blue With A Hint Of Purple
#533CC6
ΔE00 2.39
Bluey Purple
#6241C7
ΔE00 2.54
Burple
#6832E3
ΔE00 2.94
Purpley Blue
#5F34E7
ΔE00 3.09
Purple Blue
#5D21D0
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F36CE #A5CE36
analogous
#3659CE #5F36CE #AB36CE
triadic
#5F36CE #CE5F36 #36CE5F
tetradic
#5F36CE #CE3659 #A5CE36 #36CEAB
square
#5F36CE #CE3659 #A5CE36 #36CEAB
split-complementary
#5F36CE #CEAB36 #59CE36
monochromatic
#321B6F #4827A0 #5F36CE #8667DA #AD98E6
Accessibility & contrast
On white
7.23
#5F36CE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#5F36CE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F36CE
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F36CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F36CE | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#31607F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5f36ce; /* rgb */ color: rgb(95, 54, 206); /* oklch */ color: oklch(48.1% 0.217 287.5);
Tailwind
colors: {
custom: {
50: '#9871de',
500: '#5f36ce',
950: '#000000',
},
}SCSS
$custom: #5f36ce; $custom-light: #9871de; $custom-dark: #000000;
JSON
{
"hex": "#5f36ce",
"rgb": {
"r": 95,
"g": 54,
"b": 206
},
"hsl": {
"h": 256.184,
"s": 60.8,
"l": 50.98
},
"oklch": {
"l": 0.48089,
"c": 0.2172,
"h": 287.5
},
"luminance": 0.09527
}Semantic roles & 50–950 ramp
primary
#5F36CE
secondary
#BFD28E
accent
#E444B9
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83