#4B1895#4B1895
#4B1895 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.183 H 293.8°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4B1895 |
|---|---|
| RGB | rgb(75, 24, 149) |
| HSL | hsl(264, 72%, 34%) |
| HSV | hsv(264, 84%, 58%) |
| CMYK | cmyk(49.7%, 83.9%, 0%, 41.6%) |
| CIE-LAB | lab(24.70, 49.49, -58.22) |
| CIE-LCH | lch(24.70, 76.41, 310.37°) |
| OKLab | oklab(37.37% 0.0737 -0.1671) |
| OKLCH | oklch(37.37% 0.183 293.8) |
| XYZ | xyz(8.6516, 4.3188, 28.8057) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.07
Indigo Blue
#3A18B1
ΔE00 4.58
Indigo (survey)
#380282
ΔE00 4.78
Ultramarine
#2000B1
ΔE00 6.22
Royal
#0C1793
ΔE00 6.70
Cobalt Blue
#030AA7
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B1895 #629518
analogous
#182495 #4B1895 #8A1895
triadic
#4B1895 #954B18 #18954B
tetradic
#4B1895 #951824 #629518 #18958A
square
#4B1895 #951824 #629518 #18958A
split-complementary
#4B1895 #958A18 #249518
monochromatic
#16072C #301060 #4B1895 #6620CA #8546E1
Accessibility & contrast
On white
11.27
#4B1895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#4B1895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B1895
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B1895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B1895 | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#343D58
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #4b1895; /* rgb */ color: rgb(75, 24, 149); /* oklch */ color: oklch(37.4% 0.183 293.8);
Tailwind
colors: {
custom: {
50: '#865db5',
500: '#4b1895',
950: '#000000',
},
}SCSS
$custom: #4b1895; $custom-light: #865db5; $custom-dark: #000000;
JSON
{
"hex": "#4b1895",
"rgb": {
"r": 75,
"g": 24,
"b": 149
},
"hsl": {
"h": 264.48,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.37369,
"c": 0.18268,
"h": 293.8
},
"luminance": 0.04319
}Semantic roles & 50–950 ramp
primary
#4B1895
secondary
#90C246
accent
#EF39A5
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980