#4E2FD2#4E2FD2
#4E2FD2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.230 H 281.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2FD2 |
|---|---|
| RGB | rgb(78, 47, 210) |
| HSL | hsl(251, 64%, 50%) |
| HSV | hsv(251, 78%, 82%) |
| CMYK | cmyk(62.9%, 77.6%, 0%, 17.6%) |
| CIE-LAB | lab(34.61, 56.71, -78.27) |
| CIE-LCH | lch(34.61, 96.65, 305.92°) |
| OKLab | oklab(46.16% 0.0446 -0.2259) |
| OKLCH | oklch(46.16% 0.23 281.2) |
| XYZ | xyz(15.7876, 8.3047, 61.7313) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.21
Purple Blue
#5D21D0
ΔE00 2.81
Blue With A Hint Of Purple
#533CC6
ΔE00 2.99
Purpley Blue
#5F34E7
ΔE00 3.94
Burple
#6832E3
ΔE00 4.35
Blue Violet
#5D06E9
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2FD2 #B3D22F
analogous
#2F61D2 #4E2FD2 #9F2FD2
triadic
#4E2FD2 #D24E2F #2FD24E
tetradic
#4E2FD2 #D22F61 #B3D22F #2FD29F
square
#4E2FD2 #D22F61 #B3D22F #2FD29F
split-complementary
#4E2FD2 #D29F2F #61D22F
monochromatic
#28186F #3B23A1 #4E2FD2 #7961DD #A494E8
Accessibility & contrast
On white
7.89
#4E2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#4E2FD2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2FD2
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2FD2 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057D7
Deuteranopia (green-blind)
#004BCF
Tritanopia (blue-blind)
#005F80
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e2fd2; /* rgb */ color: rgb(78, 47, 210); /* oklch */ color: oklch(46.2% 0.230 281.2);
Tailwind
colors: {
custom: {
50: '#906ce1',
500: '#4e2fd2',
950: '#000000',
},
}SCSS
$custom: #4e2fd2; $custom-light: #906ce1; $custom-dark: #000000;
JSON
{
"hex": "#4e2fd2",
"rgb": {
"r": 78,
"g": 47,
"b": 210
},
"hsl": {
"h": 251.411,
"s": 64.427,
"l": 50.392
},
"oklch": {
"l": 0.46162,
"c": 0.23023,
"h": 281.2
},
"luminance": 0.08306
}Semantic roles & 50–950 ramp
primary
#4E2FD2
secondary
#C5D38A
accent
#E740C8
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0715
muted
#7E7A84