#4B1E93#4B1E93
#4B1E93 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.175 H 293.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4B1E93 |
|---|---|
| RGB | rgb(75, 30, 147) |
| HSL | hsl(263, 66%, 35%) |
| HSV | hsv(263, 80%, 58%) |
| CMYK | cmyk(49%, 79.6%, 0%, 42.4%) |
| CIE-LAB | lab(25.35, 46.49, -55.91) |
| CIE-LCH | lch(25.35, 72.71, 309.74°) |
| OKLab | oklab(37.76% 0.0701 -0.1604) |
| OKLCH | oklch(37.76% 0.175 293.6) |
| XYZ | xyz(8.6309, 4.5307, 28.0179) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.63
Indigo Blue
#3A18B1
ΔE00 4.92
Indigo (survey)
#380282
ΔE00 5.32
Rebeccapurple
#663399
ΔE00 6.50
Royal
#0C1793
ΔE00 6.85
Ultramarine
#2000B1
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B1E93 #66931E
analogous
#1E2B93 #4B1E93 #861E93
triadic
#4B1E93 #934B1E #1E934B
tetradic
#4B1E93 #931E2B #66931E #1E9386
square
#4B1E93 #931E2B #66931E #1E9386
split-complementary
#4B1E93 #93861E #2B931E
monochromatic
#17092D #311460 #4B1E93 #6528C6 #8650DB
Accessibility & contrast
On white
11.02
#4B1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#4B1E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B1E93
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B1E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B1E93 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#353F58
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4b1e93; /* rgb */ color: rgb(75, 30, 147); /* oklch */ color: oklch(37.8% 0.175 293.6);
Tailwind
colors: {
custom: {
50: '#8560b4',
500: '#4b1e93',
950: '#000000',
},
}SCSS
$custom: #4b1e93; $custom-light: #8560b4; $custom-dark: #000000;
JSON
{
"hex": "#4b1e93",
"rgb": {
"r": 75,
"g": 30,
"b": 147
},
"hsl": {
"h": 263.077,
"s": 66.102,
"l": 34.706
},
"oklch": {
"l": 0.37764,
"c": 0.17508,
"h": 293.6
},
"luminance": 0.04531
}Semantic roles & 50–950 ramp
primary
#4B1E93
secondary
#93BE4F
accent
#E93FA8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980