#4E2AB3#4E2AB3
#4E2AB3 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.200 H 286.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2AB3 |
|---|---|
| RGB | rgb(78, 42, 179) |
| HSL | hsl(256, 62%, 43%) |
| HSV | hsv(256, 77%, 70%) |
| CMYK | cmyk(56.4%, 76.5%, 0%, 29.8%) |
| CIE-LAB | lab(30.71, 50.22, -66.50) |
| CIE-LCH | lch(30.71, 83.33, 307.06°) |
| OKLab | oklab(42.52% 0.0563 -0.1914) |
| OKLCH | oklch(42.52% 0.2 286.4) |
| XYZ | xyz(12.1041, 6.5296, 43.2616) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.00
Violet Blue
#510AC9
ΔE00 4.30
Purple Blue
#5D21D0
ΔE00 4.32
Blue With A Hint Of Purple
#533CC6
ΔE00 4.97
Blurple
#5539CC
ΔE00 4.99
Ocean Blue
#4F42B5
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2AB3 #8FB32A
analogous
#2A4BB3 #4E2AB3 #922AB3
triadic
#4E2AB3 #B34E2A #2AB34E
tetradic
#4E2AB3 #B32A4B #8FB32A #2AB392
square
#4E2AB3 #B32A4B #8FB32A #2AB392
split-complementary
#4E2AB3 #B3922A #4BB32A
monochromatic
#231350 #381E81 #4E2AB3 #6C46D4 #9378DF
Accessibility & contrast
On white
9.11
#4E2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#4E2AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2AB3
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2AB3 | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#1E516D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4e2ab3; /* rgb */ color: rgb(78, 42, 179); /* oklch */ color: oklch(42.5% 0.200 286.4);
Tailwind
colors: {
custom: {
50: '#8b68cb',
500: '#4e2ab3',
950: '#000000',
},
}SCSS
$custom: #4e2ab3; $custom-light: #8b68cb; $custom-dark: #000000;
JSON
{
"hex": "#4e2ab3",
"rgb": {
"r": 78,
"g": 42,
"b": 179
},
"hsl": {
"h": 255.766,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.42518,
"c": 0.19954,
"h": 286.4
},
"luminance": 0.0653
}Semantic roles & 50–950 ramp
primary
#4E2AB3
secondary
#B1C772
accent
#E543BA
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82