#4B1E96#4B1E96
#4B1E96 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.178 H 292.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4B1E96 |
|---|---|
| RGB | rgb(75, 30, 150) |
| HSL | hsl(263, 67%, 35%) |
| HSV | hsv(263, 80%, 59%) |
| CMYK | cmyk(50%, 80%, 0%, 41.2%) |
| CIE-LAB | lab(25.64, 47.30, -57.29) |
| CIE-LCH | lch(25.64, 74.29, 309.54°) |
| OKLab | oklab(38.05% 0.0691 -0.1645) |
| OKLCH | oklch(38.05% 0.178 292.8) |
| XYZ | xyz(8.8694, 4.6261, 29.2739) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.50
Indigo
#4B0082
ΔE00 4.91
Indigo (survey)
#380282
ΔE00 5.52
Rebeccapurple
#663399
ΔE00 6.52
Ultramarine
#2000B1
ΔE00 6.56
Royal
#0C1793
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B1E96 #69961E
analogous
#1E2D96 #4B1E96 #871E96
triadic
#4B1E96 #964B1E #1E964B
tetradic
#4B1E96 #961E2D #69961E #1E9687
square
#4B1E96 #961E2D #69961E #1E9687
split-complementary
#4B1E96 #96871E #2D961E
monochromatic
#180A30 #311463 #4B1E96 #6428C9 #8652DC
Accessibility & contrast
On white
10.91
#4B1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#4B1E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B1E96
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B1E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B1E96 | 1.00 | 10.91 | 1.93 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#33405A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4b1e96; /* rgb */ color: rgb(75, 30, 150); /* oklch */ color: oklch(38.1% 0.178 292.8);
Tailwind
colors: {
custom: {
50: '#8660b6',
500: '#4b1e96',
950: '#000000',
},
}SCSS
$custom: #4b1e96; $custom-light: #8660b6; $custom-dark: #000000;
JSON
{
"hex": "#4b1e96",
"rgb": {
"r": 75,
"g": 30,
"b": 150
},
"hsl": {
"h": 262.5,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.38052,
"c": 0.17842,
"h": 292.8
},
"luminance": 0.04626
}Semantic roles & 50–950 ramp
primary
#4B1E96
secondary
#96BF50
accent
#EA3EA9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980