#4F36CC#4F36CC
#4F36CC is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.217 H 281.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4F36CC |
|---|---|
| RGB | rgb(79, 54, 204) |
| HSL | hsl(250, 60%, 51%) |
| HSV | hsv(250, 74%, 80%) |
| CMYK | cmyk(61.3%, 73.5%, 0%, 20%) |
| CIE-LAB | lab(35.32, 51.61, -73.62) |
| CIE-LCH | lch(35.32, 89.91, 305.03°) |
| OKLab | oklab(46.51% 0.0432 -0.2123) |
| OKLCH | oklch(46.51% 0.217 281.5) |
| XYZ | xyz(15.4393, 8.6591, 57.9728) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.02
Blue With A Hint Of Purple
#533CC6
ΔE00 1.55
Bluey Purple
#6241C7
ΔE00 3.67
Purple Blue
#5D21D0
ΔE00 3.90
Purpley Blue
#5F34E7
ΔE00 4.13
Ocean Blue
#4F42B5
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F36CC #B3CC36
analogous
#3668CC #4F36CC #9A36CC
triadic
#4F36CC #CC4F36 #36CC4F
tetradic
#4F36CC #CC3668 #B3CC36 #36CC9A
square
#4F36CC #CC3668 #B3CC36 #36CC9A
split-complementary
#4F36CC #CC9A36 #68CC36
monochromatic
#291B6C #3B289D #4F36CC #7A67D8 #A498E5
Accessibility & contrast
On white
7.69
#4F36CC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#4F36CC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F36CC
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F36CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F36CC | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004EC9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #4f36cc; /* rgb */ color: rgb(79, 54, 204); /* oklch */ color: oklch(46.5% 0.217 281.5);
Tailwind
colors: {
custom: {
50: '#8f70dd',
500: '#4f36cc',
950: '#000000',
},
}SCSS
$custom: #4f36cc; $custom-light: #8f70dd; $custom-dark: #000000;
JSON
{
"hex": "#4f36cc",
"rgb": {
"r": 79,
"g": 54,
"b": 204
},
"hsl": {
"h": 250,
"s": 59.524,
"l": 50.588
},
"oklch": {
"l": 0.46505,
"c": 0.21667,
"h": 281.5
},
"luminance": 0.0866
}Semantic roles & 50–950 ramp
primary
#4F36CC
secondary
#C5D08E
accent
#E345C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83