#4B1E94#4B1E94
#4B1E94 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.176 H 293.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4B1E94 |
|---|---|
| RGB | rgb(75, 30, 148) |
| HSL | hsl(263, 66%, 35%) |
| HSV | hsv(263, 80%, 58%) |
| CMYK | cmyk(49.3%, 79.7%, 0%, 42%) |
| CIE-LAB | lab(25.45, 46.76, -56.37) |
| CIE-LCH | lch(25.45, 73.24, 309.68°) |
| OKLab | oklab(37.86% 0.0698 -0.1618) |
| OKLCH | oklch(37.86% 0.176 293.3) |
| XYZ | xyz(8.7097, 4.5622, 28.4329) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.72
Indigo Blue
#3A18B1
ΔE00 4.78
Indigo (survey)
#380282
ΔE00 5.38
Rebeccapurple
#663399
ΔE00 6.50
Ultramarine
#2000B1
ΔE00 6.75
Royal
#0C1793
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B1E94 #67941E
analogous
#1E2C94 #4B1E94 #861E94
triadic
#4B1E94 #944B1E #1E944B
tetradic
#4B1E94 #941E2C #67941E #1E9486
square
#4B1E94 #941E2C #67941E #1E9486
split-complementary
#4B1E94 #94861E #2C941E
monochromatic
#17092E #311461 #4B1E94 #6528C7 #8651DC
Accessibility & contrast
On white
10.98
#4B1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#4B1E94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B1E94
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B1E94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B1E94 | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#343F59
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4b1e94; /* rgb */ color: rgb(75, 30, 148); /* oklch */ color: oklch(37.9% 0.176 293.3);
Tailwind
colors: {
custom: {
50: '#8560b4',
500: '#4b1e94',
950: '#000000',
},
}SCSS
$custom: #4b1e94; $custom-light: #8560b4; $custom-dark: #000000;
JSON
{
"hex": "#4b1e94",
"rgb": {
"r": 75,
"g": 30,
"b": 148
},
"hsl": {
"h": 262.881,
"s": 66.292,
"l": 34.902
},
"oklch": {
"l": 0.3786,
"c": 0.17619,
"h": 293.3
},
"luminance": 0.04563
}Semantic roles & 50–950 ramp
primary
#4B1E94
secondary
#94BF4F
accent
#E93FA8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980