#4F36C7#4F36C7
#4F36C7 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.0% C 0.211 H 282.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4F36C7 |
|---|---|
| RGB | rgb(79, 54, 199) |
| HSL | hsl(250, 57%, 50%) |
| HSV | hsv(250, 73%, 78%) |
| CMYK | cmyk(60.3%, 72.9%, 0%, 22%) |
| CIE-LAB | lab(34.85, 50.12, -71.48) |
| CIE-LCH | lch(34.85, 87.30, 305.04°) |
| OKLab | oklab(46.03% 0.0443 -0.2061) |
| OKLCH | oklch(46.03% 0.211 282.1) |
| XYZ | xyz(14.8492, 8.4231, 54.8651) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.30
Blue With A Hint Of Purple
#533CC6
ΔE00 1.45
Bluey Purple
#6241C7
ΔE00 3.72
Ocean Blue
#4F42B5
ΔE00 3.84
Purple Blue
#5D21D0
ΔE00 3.99
Purpley Blue
#5F34E7
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F36C7 #AEC736
analogous
#3666C7 #4F36C7 #9836C7
triadic
#4F36C7 #C74F36 #36C74F
tetradic
#4F36C7 #C73666 #AEC736 #36C798
square
#4F36C7 #C73666 #AEC736 #36C798
split-complementary
#4F36C7 #C79836 #66C736
monochromatic
#291C67 #3C2997 #4F36C7 #7865D5 #A295E2
Accessibility & contrast
On white
7.82
#4F36C7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#4F36C7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F36C7
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F36C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F36C7 | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004DC4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #4f36c7; /* rgb */ color: rgb(79, 54, 199); /* oklch */ color: oklch(46.0% 0.211 282.1);
Tailwind
colors: {
custom: {
50: '#8e70d9',
500: '#4f36c7',
950: '#000000',
},
}SCSS
$custom: #4f36c7; $custom-light: #8e70d9; $custom-dark: #000000;
JSON
{
"hex": "#4f36c7",
"rgb": {
"r": 79,
"g": 54,
"b": 199
},
"hsl": {
"h": 250.345,
"s": 57.312,
"l": 49.608
},
"oklch": {
"l": 0.4603,
"c": 0.21078,
"h": 282.1
},
"luminance": 0.08424
}Semantic roles & 50–950 ramp
primary
#4F36C7
secondary
#C2CE8B
accent
#E147C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83