#4E2FE2#4E2FE2
#4E2FE2 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.248 H 279.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2FE2 |
|---|---|
| RGB | rgb(78, 47, 226) |
| HSL | hsl(250, 76%, 54%) |
| HSV | hsv(250, 79%, 89%) |
| CMYK | cmyk(65.5%, 79.2%, 0%, 11.4%) |
| CIE-LAB | lab(36.26, 61.26, -84.76) |
| CIE-LCH | lch(36.26, 104.57, 305.86°) |
| OKLab | oklab(47.79% 0.0401 -0.2447) |
| OKLCH | oklch(47.79% 0.248 279.3) |
| XYZ | xyz(17.8815, 9.1422, 72.7591) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 2.52
Blurple
#5539CC
ΔE00 3.03
Light Royal Blue
#3A2EFE
ΔE00 3.17
Burple
#6832E3
ΔE00 3.32
Purply Blue
#661AEE
ΔE00 3.62
Purplish Blue
#601EF9
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2FE2 #C3E22F
analogous
#2F69E2 #4E2FE2 #A72FE2
triadic
#4E2FE2 #E24E2F #2FE24E
tetradic
#4E2FE2 #E22F69 #C3E22F #2FE2A7
square
#4E2FE2 #E22F69 #C3E22F #2FE2A7
split-complementary
#4E2FE2 #E2A72F #69E22F
monochromatic
#261284 #361ABA #4E2FE2 #7C65E9 #A99AF1
Accessibility & contrast
On white
7.42
#4E2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#4E2FE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2FE2
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2FE2 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CE7
Deuteranopia (green-blind)
#004EDF
Tritanopia (blue-blind)
#006689
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #4e2fe2; /* rgb */ color: rgb(78, 47, 226); /* oklch */ color: oklch(47.8% 0.248 279.3);
Tailwind
colors: {
custom: {
50: '#936ded',
500: '#4e2fe2',
950: '#000000',
},
}SCSS
$custom: #4e2fe2; $custom-light: #936ded; $custom-dark: #000000;
JSON
{
"hex": "#4e2fe2",
"rgb": {
"r": 78,
"g": 47,
"b": 226
},
"hsl": {
"h": 250.391,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.47794,
"c": 0.248,
"h": 279.3
},
"luminance": 0.09144
}Semantic roles & 50–950 ramp
primary
#4E2FE2
secondary
#CFDD90
accent
#F236D1
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84