#4E23E2#4E23E2
#4E23E2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.7% C 0.256 H 280.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4E23E2 |
|---|---|
| RGB | rgb(78, 35, 226) |
| HSL | hsl(254, 77%, 51%) |
| HSV | hsv(254, 85%, 89%) |
| CMYK | cmyk(65.5%, 84.5%, 0%, 11.4%) |
| CIE-LAB | lab(34.62, 66.06, -87.46) |
| CIE-LCH | lch(34.62, 109.61, 307.06°) |
| OKLab | oklab(46.67% 0.045 -0.2524) |
| OKLCH | oklch(46.67% 0.256 280.1) |
| XYZ | xyz(17.4660, 8.3113, 72.6206) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue Purple
#5A06EF
ΔE00 2.50
Blue Violet
#5D06E9
ΔE00 2.51
Purple Blue
#5D21D0
ΔE00 2.65
Purply Blue
#661AEE
ΔE00 3.20
Purplish Blue
#601EF9
ΔE00 3.64
Rich Blue
#021BF9
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E23E2 #B7E223
analogous
#2357E2 #4E23E2 #AD23E2
triadic
#4E23E2 #E24E23 #23E24E
tetradic
#4E23E2 #E22357 #B7E223 #23E2AD
square
#4E23E2 #E22357 #B7E223 #23E2AD
split-complementary
#4E23E2 #E2AD23 #57E223
monochromatic
#28107A #3A17B1 #4E23E2 #7A59E9 #A58FF0
Accessibility & contrast
On white
7.89
#4E23E2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#4E23E2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E23E2
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E23E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E23E2 | 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)
#0058E7
Deuteranopia (green-blind)
#004ADF
Tritanopia (blue-blind)
#006287
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e23e2; /* rgb */ color: rgb(78, 35, 226); /* oklch */ color: oklch(46.7% 0.256 280.1);
Tailwind
colors: {
custom: {
50: '#9468ed',
500: '#4e23e2',
950: '#000000',
},
}SCSS
$custom: #4e23e2; $custom-light: #9468ed; $custom-dark: #000000;
JSON
{
"hex": "#4e23e2",
"rgb": {
"r": 78,
"g": 35,
"b": 226
},
"hsl": {
"h": 253.508,
"s": 76.707,
"l": 51.176
},
"oklch": {
"l": 0.4667,
"c": 0.25641,
"h": 280.1
},
"luminance": 0.08313
}Semantic roles & 50–950 ramp
primary
#4E23E2
secondary
#C8DB86
accent
#F335C8
background
#FAF6FE
surface
#F3EBFD
border
#CDC6D5
text
#0F0717
muted
#7F7A85