#4E148F#4E148F
#4E148F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.180 H 297.6°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #4E148F |
|---|---|
| RGB | rgb(78, 20, 143) |
| HSL | hsl(268, 75%, 32%) |
| HSV | hsv(268, 86%, 56%) |
| CMYK | cmyk(45.5%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(24.01, 49.81, -55.63) |
| CIE-LCH | lch(24.01, 74.67, 311.84°) |
| OKLab | oklab(36.8% 0.0833 -0.1594) |
| OKLCH | oklch(36.8% 0.18 297.6) |
| XYZ | xyz(8.3487, 4.1030, 26.3334) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.97
Indigo (survey)
#380282
ΔE00 4.38
Indigo Blue
#3A18B1
ΔE00 5.76
Royal Purple (survey)
#4B006E
ΔE00 5.91
Ultramarine
#2000B1
ΔE00 7.06
Rebeccapurple
#663399
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E148F #558F14
analogous
#14178F #4E148F #8C148F
triadic
#4E148F #8F4E14 #148F4E
tetradic
#4E148F #8F1417 #558F14 #148F8C
square
#4E148F #8F1417 #558F14 #148F8C
split-complementary
#4E148F #8F8C14 #178F14
monochromatic
#130524 #310C59 #4E148F #6B1CC5 #8A3AE3
Accessibility & contrast
On white
11.53
#4E148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#4E148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E148F
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E148F | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#3D3954
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #4e148f; /* rgb */ color: rgb(78, 20, 143); /* oklch */ color: oklch(36.8% 0.180 297.6);
Tailwind
colors: {
custom: {
50: '#875bb1',
500: '#4e148f',
950: '#000000',
},
}SCSS
$custom: #4e148f; $custom-light: #875bb1; $custom-dark: #000000;
JSON
{
"hex": "#4e148f",
"rgb": {
"r": 78,
"g": 20,
"b": 143
},
"hsl": {
"h": 268.293,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.36801,
"c": 0.17989,
"h": 297.6
},
"luminance": 0.04103
}Semantic roles & 50–950 ramp
primary
#4E148F
secondary
#83C33C
accent
#F23699
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980