#4E2FC7#4E2FC7
#4E2FC7 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.218 H 282.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2FC7 |
|---|---|
| RGB | rgb(78, 47, 199) |
| HSL | hsl(252, 62%, 48%) |
| HSV | hsv(252, 76%, 78%) |
| CMYK | cmyk(60.8%, 76.4%, 0%, 22%) |
| CIE-LAB | lab(33.51, 53.54, -73.69) |
| CIE-LCH | lch(33.51, 91.08, 306.00°) |
| OKLab | oklab(45.07% 0.0476 -0.2125) |
| OKLCH | oklch(45.07% 0.218 282.6) |
| XYZ | xyz(14.4640, 7.7752, 54.7603) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.50
Blue With A Hint Of Purple
#533CC6
ΔE00 2.89
Purple Blue
#5D21D0
ΔE00 2.95
Violet Blue
#510AC9
ΔE00 4.61
Bluey Purple
#6241C7
ΔE00 4.88
Ocean Blue
#4F42B5
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2FC7 #A8C72F
analogous
#2F5CC7 #4E2FC7 #9A2FC7
triadic
#4E2FC7 #C74E2F #2FC74E
tetradic
#4E2FC7 #C72F5C #A8C72F #2FC79A
square
#4E2FC7 #C72F5C #A8C72F #2FC79A
split-complementary
#4E2FC7 #C79A2F #5CC72F
monochromatic
#271864 #3B2395 #4E2FC7 #755BD8 #9E8CE4
Accessibility & contrast
On white
8.22
#4E2FC7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#4E2FC7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2FC7
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2FC7 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#0049C4
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4e2fc7; /* rgb */ color: rgb(78, 47, 199); /* oklch */ color: oklch(45.1% 0.218 282.6);
Tailwind
colors: {
custom: {
50: '#8e6cd9',
500: '#4e2fc7',
950: '#000000',
},
}SCSS
$custom: #4e2fc7; $custom-light: #8e6cd9; $custom-dark: #000000;
JSON
{
"hex": "#4e2fc7",
"rgb": {
"r": 78,
"g": 47,
"b": 199
},
"hsl": {
"h": 252.237,
"s": 61.789,
"l": 48.235
},
"oklch": {
"l": 0.45065,
"c": 0.21775,
"h": 282.6
},
"luminance": 0.07776
}Semantic roles & 50–950 ramp
primary
#4E2FC7
secondary
#BFCE84
accent
#E543C4
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83