#4B1E95#4B1E95
#4B1E95 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.177 H 293.1°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4B1E95 |
|---|---|
| RGB | rgb(75, 30, 149) |
| HSL | hsl(263, 66%, 35%) |
| HSV | hsv(263, 80%, 58%) |
| CMYK | cmyk(49.7%, 79.9%, 0%, 41.6%) |
| CIE-LAB | lab(25.55, 47.03, -56.83) |
| CIE-LCH | lch(25.55, 73.77, 309.61°) |
| OKLab | oklab(37.96% 0.0695 -0.1631) |
| OKLCH | oklch(37.96% 0.177 293.1) |
| XYZ | xyz(8.7892, 4.5940, 28.8516) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.64
Indigo
#4B0082
ΔE00 4.81
Indigo (survey)
#380282
ΔE00 5.45
Rebeccapurple
#663399
ΔE00 6.51
Ultramarine
#2000B1
ΔE00 6.66
Royal
#0C1793
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B1E95 #68951E
analogous
#1E2D95 #4B1E95 #861E95
triadic
#4B1E95 #954B1E #1E954B
tetradic
#4B1E95 #951E2D #68951E #1E9586
square
#4B1E95 #951E2D #68951E #1E9586
split-complementary
#4B1E95 #95861E #2D951E
monochromatic
#18092F #311462 #4B1E95 #6528C8 #8651DC
Accessibility & contrast
On white
10.94
#4B1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#4B1E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B1E95
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B1E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B1E95 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#334059
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4b1e95; /* rgb */ color: rgb(75, 30, 149); /* oklch */ color: oklch(38.0% 0.177 293.1);
Tailwind
colors: {
custom: {
50: '#8560b5',
500: '#4b1e95',
950: '#000000',
},
}SCSS
$custom: #4b1e95; $custom-light: #8560b5; $custom-dark: #000000;
JSON
{
"hex": "#4b1e95",
"rgb": {
"r": 75,
"g": 30,
"b": 149
},
"hsl": {
"h": 262.689,
"s": 66.48,
"l": 35.098
},
"oklch": {
"l": 0.37956,
"c": 0.17731,
"h": 293.1
},
"luminance": 0.04594
}Semantic roles & 50–950 ramp
primary
#4B1E95
secondary
#95BF50
accent
#E93EA9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980