#4E2FC3#4E2FC3
#4E2FC3 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.213 H 283.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2FC3 |
|---|---|
| RGB | rgb(78, 47, 195) |
| HSL | hsl(253, 61%, 47%) |
| HSV | hsv(253, 76%, 76%) |
| CMYK | cmyk(60%, 75.9%, 0%, 23.5%) |
| CIE-LAB | lab(33.12, 52.38, -71.99) |
| CIE-LCH | lch(33.12, 89.03, 306.04°) |
| OKLab | oklab(44.67% 0.0486 -0.2075) |
| OKLCH | oklch(44.67% 0.213 283.2) |
| XYZ | xyz(14.0057, 7.5919, 52.3465) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.76
Blue With A Hint Of Purple
#533CC6
ΔE00 3.01
Purple Blue
#5D21D0
ΔE00 3.16
Violet Blue
#510AC9
ΔE00 4.58
Ocean Blue
#4F42B5
ΔE00 4.89
Bluey Purple
#6241C7
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2FC3 #A4C32F
analogous
#2F5AC3 #4E2FC3 #982FC3
triadic
#4E2FC3 #C34E2F #2FC34E
tetradic
#4E2FC3 #C32F5A #A4C32F #2FC398
square
#4E2FC3 #C32F5A #A4C32F #2FC398
split-complementary
#4E2FC3 #C3982F #5AC32F
monochromatic
#271760 #3A2392 #4E2FC3 #7358D7 #9C8AE3
Accessibility & contrast
On white
8.34
#4E2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#4E2FC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2FC3
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2FC3 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4e2fc3; /* rgb */ color: rgb(78, 47, 195); /* oklch */ color: oklch(44.7% 0.213 283.2);
Tailwind
colors: {
custom: {
50: '#8d6cd6',
500: '#4e2fc3',
950: '#000000',
},
}SCSS
$custom: #4e2fc3; $custom-light: #8d6cd6; $custom-dark: #000000;
JSON
{
"hex": "#4e2fc3",
"rgb": {
"r": 78,
"g": 47,
"b": 195
},
"hsl": {
"h": 252.568,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.44673,
"c": 0.21315,
"h": 283.2
},
"luminance": 0.07593
}Semantic roles & 50–950 ramp
primary
#4E2FC3
secondary
#BDCD81
accent
#E444C3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83