#4B1F95#4B1F95
#4B1F95 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.176 H 292.9°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4B1F95 |
|---|---|
| RGB | rgb(75, 31, 149) |
| HSL | hsl(262, 66%, 35%) |
| HSV | hsv(262, 79%, 58%) |
| CMYK | cmyk(49.7%, 79.2%, 0%, 41.6%) |
| CIE-LAB | lab(25.70, 46.58, -56.58) |
| CIE-LCH | lch(25.70, 73.29, 309.47°) |
| OKLab | oklab(38.06% 0.0687 -0.1624) |
| OKLCH | oklch(38.06% 0.176 292.9) |
| XYZ | xyz(8.8149, 4.6455, 28.8602) |
| Luminance | 0.0465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.67
Indigo
#4B0082
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 5.58
Rebeccapurple
#663399
ΔE00 6.40
Ultramarine
#2000B1
ΔE00 6.75
Royal
#0C1793
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B1F95 #69951F
analogous
#1F2E95 #4B1F95 #861F95
triadic
#4B1F95 #954B1F #1F954B
tetradic
#4B1F95 #951F2E #69951F #1F9586
square
#4B1F95 #951F2E #69951F #1F9586
split-complementary
#4B1F95 #95861F #2E951F
monochromatic
#180A30 #311462 #4B1F95 #642AC8 #8653DB
Accessibility & contrast
On white
10.89
#4B1F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#4B1F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B1F95
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B1F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B1F95 | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#33405A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4b1f95; /* rgb */ color: rgb(75, 31, 149); /* oklch */ color: oklch(38.1% 0.176 292.9);
Tailwind
colors: {
custom: {
50: '#8560b5',
500: '#4b1f95',
950: '#000000',
},
}SCSS
$custom: #4b1f95; $custom-light: #8560b5; $custom-dark: #000000;
JSON
{
"hex": "#4b1f95",
"rgb": {
"r": 75,
"g": 31,
"b": 149
},
"hsl": {
"h": 262.373,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.38063,
"c": 0.17633,
"h": 292.9
},
"luminance": 0.04646
}Semantic roles & 50–950 ramp
primary
#4B1F95
secondary
#96BF51
accent
#E93FA9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980