#5F36D5#5F36D5
#5F36D5 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.225 H 286.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5F36D5 |
|---|---|
| RGB | rgb(95, 54, 213) |
| HSL | hsl(255, 65%, 52%) |
| HSV | hsv(255, 75%, 84%) |
| CMYK | cmyk(55.4%, 74.6%, 0%, 16.5%) |
| CIE-LAB | lab(37.62, 56.27, -75.00) |
| CIE-LCH | lch(37.62, 93.76, 306.88°) |
| OKLab | oklab(48.73% 0.0638 -0.2159) |
| OKLCH | oklch(48.73% 0.225 286.5) |
| XYZ | xyz(18.0451, 9.8743, 63.8930) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.90
Burple
#6832E3
ΔE00 2.18
Purpley Blue
#5F34E7
ΔE00 2.19
Blue With A Hint Of Purple
#533CC6
ΔE00 2.84
Bluey Purple
#6241C7
ΔE00 2.84
Purple Blue
#5D21D0
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F36D5 #ACD536
analogous
#365CD5 #5F36D5 #AF36D5
triadic
#5F36D5 #D55F36 #36D55F
tetradic
#5F36D5 #D5365C #ACD536 #36D5AF
square
#5F36D5 #D5365C #ACD536 #36D5AF
split-complementary
#5F36D5 #D5AF36 #5CD536
monochromatic
#311978 #4624AA #5F36D5 #8769E0 #B09BEA
Accessibility & contrast
On white
7.06
#5F36D5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#5F36D5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F36D5
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F36D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F36D5 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CDA
Deuteranopia (green-blind)
#0054D2
Tritanopia (blue-blind)
#296383
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5f36d5; /* rgb */ color: rgb(95, 54, 213); /* oklch */ color: oklch(48.7% 0.225 286.5);
Tailwind
colors: {
custom: {
50: '#9972e3',
500: '#5f36d5',
950: '#000000',
},
}SCSS
$custom: #5f36d5; $custom-light: #9972e3; $custom-dark: #000000;
JSON
{
"hex": "#5f36d5",
"rgb": {
"r": 95,
"g": 54,
"b": 213
},
"hsl": {
"h": 255.472,
"s": 65.432,
"l": 52.353
},
"oklch": {
"l": 0.48731,
"c": 0.2251,
"h": 286.5
},
"luminance": 0.09875
}Semantic roles & 50–950 ramp
primary
#5F36D5
secondary
#C4D691
accent
#E83FBD
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84