#5F36CF#5F36CF
#5F36CF is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.218 H 287.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5F36CF |
|---|---|
| RGB | rgb(95, 54, 207) |
| HSL | hsl(256, 61%, 51%) |
| HSV | hsv(256, 74%, 81%) |
| CMYK | cmyk(54.1%, 73.9%, 0%, 18.8%) |
| CIE-LAB | lab(37.07, 54.60, -72.43) |
| CIE-LCH | lch(37.07, 90.70, 307.01°) |
| OKLab | oklab(48.18% 0.0652 -0.2083) |
| OKLCH | oklch(48.18% 0.218 287.4) |
| XYZ | xyz(17.2976, 9.5753, 59.9562) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.59
Blue With A Hint Of Purple
#533CC6
ΔE00 2.44
Bluey Purple
#6241C7
ΔE00 2.57
Burple
#6832E3
ΔE00 2.83
Purpley Blue
#5F34E7
ΔE00 2.96
Purple Blue
#5D21D0
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F36CF #A6CF36
analogous
#3659CF #5F36CF #AB36CF
triadic
#5F36CF #CF5F36 #36CF5F
tetradic
#5F36CF #CF3659 #A6CF36 #36CFAB
square
#5F36CF #CF3659 #A6CF36 #36CFAB
split-complementary
#5F36CF #CFAB36 #59CF36
monochromatic
#321B70 #4727A1 #5F36CF #8667DB #AE99E7
Accessibility & contrast
On white
7.20
#5F36CF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#5F36CF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F36CF
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F36CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F36CF | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0053CC
Tritanopia (blue-blind)
#306080
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5f36cf; /* rgb */ color: rgb(95, 54, 207); /* oklch */ color: oklch(48.2% 0.218 287.4);
Tailwind
colors: {
custom: {
50: '#9871df',
500: '#5f36cf',
950: '#000000',
},
}SCSS
$custom: #5f36cf; $custom-light: #9871df; $custom-dark: #000000;
JSON
{
"hex": "#5f36cf",
"rgb": {
"r": 95,
"g": 54,
"b": 207
},
"hsl": {
"h": 256.078,
"s": 61.446,
"l": 51.176
},
"oklch": {
"l": 0.4818,
"c": 0.21833,
"h": 287.4
},
"luminance": 0.09576
}Semantic roles & 50–950 ramp
primary
#5F36CF
secondary
#C0D28F
accent
#E543B9
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83