#4B1F96#4B1F96
#4B1F96 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.177 H 292.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4B1F96 |
|---|---|
| RGB | rgb(75, 31, 150) |
| HSL | hsl(262, 66%, 35%) |
| HSV | hsv(262, 79%, 59%) |
| CMYK | cmyk(50%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(25.80, 46.85, -57.03) |
| CIE-LCH | lch(25.80, 73.81, 309.40°) |
| OKLab | oklab(38.16% 0.0684 -0.1637) |
| OKLCH | oklch(38.16% 0.177 292.7) |
| XYZ | xyz(8.8951, 4.6775, 29.2824) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.53
Indigo
#4B0082
ΔE00 5.05
Indigo (survey)
#380282
ΔE00 5.65
Rebeccapurple
#663399
ΔE00 6.41
Ultramarine
#2000B1
ΔE00 6.65
Royal
#0C1793
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B1F96 #6A961F
analogous
#1F2E96 #4B1F96 #861F96
triadic
#4B1F96 #964B1F #1F964B
tetradic
#4B1F96 #961F2E #6A961F #1F9686
square
#4B1F96 #961F2E #6A961F #1F9686
split-complementary
#4B1F96 #96861F #2E961F
monochromatic
#180A31 #321563 #4B1F96 #6429C9 #8654DC
Accessibility & contrast
On white
10.85
#4B1F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4B1F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B1F96
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B1F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B1F96 | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#33415A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4b1f96; /* rgb */ color: rgb(75, 31, 150); /* oklch */ color: oklch(38.2% 0.177 292.7);
Tailwind
colors: {
custom: {
50: '#8660b6',
500: '#4b1f96',
950: '#000000',
},
}SCSS
$custom: #4b1f96; $custom-light: #8660b6; $custom-dark: #000000;
JSON
{
"hex": "#4b1f96",
"rgb": {
"r": 75,
"g": 31,
"b": 150
},
"hsl": {
"h": 262.185,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.38159,
"c": 0.17745,
"h": 292.7
},
"luminance": 0.04678
}Semantic roles & 50–950 ramp
primary
#4B1F96
secondary
#97BF52
accent
#E93FAA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980