#4E2BC2#4E2BC2
#4E2BC2 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.216 H 283.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2BC2 |
|---|---|
| RGB | rgb(78, 43, 194) |
| HSL | hsl(254, 64%, 46%) |
| HSV | hsv(254, 78%, 76%) |
| CMYK | cmyk(59.8%, 77.8%, 0%, 23.9%) |
| CIE-LAB | lab(32.35, 54.01, -72.67) |
| CIE-LCH | lch(32.35, 90.54, 306.62°) |
| OKLab | oklab(44.11% 0.0514 -0.2095) |
| OKLCH | oklch(44.11% 0.216 283.8) |
| XYZ | xyz(13.7404, 7.2416, 51.7022) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.87
Blurple
#5539CC
ΔE00 3.50
Blue With A Hint Of Purple
#533CC6
ΔE00 3.81
Violet Blue
#510AC9
ΔE00 3.83
Indigo Blue
#3A18B1
ΔE00 4.93
Blue Violet
#5D06E9
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2BC2 #9FC22B
analogous
#2B54C2 #4E2BC2 #9A2BC2
triadic
#4E2BC2 #C24E2B #2BC24E
tetradic
#4E2BC2 #C22B54 #9FC22B #2BC29A
square
#4E2BC2 #C22B54 #9FC22B #2BC29A
split-complementary
#4E2BC2 #C29A2B #54C22B
monochromatic
#26155E #3A2090 #4E2BC2 #7152D9 #9A84E4
Accessibility & contrast
On white
8.58
#4E2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#4E2BC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2BC2
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2BC2 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4e2bc2; /* rgb */ color: rgb(78, 43, 194); /* oklch */ color: oklch(44.1% 0.216 283.8);
Tailwind
colors: {
custom: {
50: '#8d69d6',
500: '#4e2bc2',
950: '#000000',
},
}SCSS
$custom: #4e2bc2; $custom-light: #8d69d6; $custom-dark: #000000;
JSON
{
"hex": "#4e2bc2",
"rgb": {
"r": 78,
"g": 43,
"b": 194
},
"hsl": {
"h": 253.907,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.44106,
"c": 0.2157,
"h": 283.8
},
"luminance": 0.07242
}Semantic roles & 50–950 ramp
primary
#4E2BC2
secondary
#BACD7C
accent
#E741C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83