#4E1F95#4E1F95
#4E1F95 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.176 H 294.6°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #4E1F95 |
|---|---|
| RGB | rgb(78, 31, 149) |
| HSL | hsl(264, 66%, 35%) |
| HSV | hsv(264, 79%, 58%) |
| CMYK | cmyk(47.7%, 79.2%, 0%, 41.6%) |
| CIE-LAB | lab(26.07, 47.04, -55.96) |
| CIE-LCH | lch(26.07, 73.10, 310.05°) |
| OKLab | oklab(38.4% 0.0734 -0.1605) |
| OKLCH | oklch(38.4% 0.176 294.6) |
| XYZ | xyz(9.0552, 4.7693, 28.8714) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.91
Indigo Blue
#3A18B1
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 5.82
Rebeccapurple
#663399
ΔE00 6.01
Violet Blue
#510AC9
ΔE00 7.03
Ultramarine
#2000B1
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E1F95 #66951F
analogous
#1F2B95 #4E1F95 #891F95
triadic
#4E1F95 #954E1F #1F954E
tetradic
#4E1F95 #951F2B #66951F #1F9589
square
#4E1F95 #951F2B #66951F #1F9589
split-complementary
#4E1F95 #95891F #2B951F
monochromatic
#190A30 #331462 #4E1F95 #692AC8 #8953DB
Accessibility & contrast
On white
10.75
#4E1F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4E1F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E1F95
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E1F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E1F95 | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#39405A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4e1f95; /* rgb */ color: rgb(78, 31, 149); /* oklch */ color: oklch(38.4% 0.176 294.6);
Tailwind
colors: {
custom: {
50: '#8761b5',
500: '#4e1f95',
950: '#000000',
},
}SCSS
$custom: #4e1f95; $custom-light: #8761b5; $custom-dark: #000000;
JSON
{
"hex": "#4e1f95",
"rgb": {
"r": 78,
"g": 31,
"b": 149
},
"hsl": {
"h": 263.898,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.38403,
"c": 0.17647,
"h": 294.6
},
"luminance": 0.0477
}Semantic roles & 50–950 ramp
primary
#4E1F95
secondary
#93BF51
accent
#E93FA5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980