#4B188E#4B188E
#4B188E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.175 H 295.8°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4B188E |
|---|---|
| RGB | rgb(75, 24, 142) |
| HSL | hsl(266, 71%, 33%) |
| HSV | hsv(266, 83%, 56%) |
| CMYK | cmyk(47.2%, 83.1%, 0%, 44.3%) |
| CIE-LAB | lab(24.01, 47.68, -55.03) |
| CIE-LCH | lch(24.01, 72.81, 310.91°) |
| OKLab | oklab(36.68% 0.0762 -0.1578) |
| OKLCH | oklch(36.68% 0.175 295.8) |
| XYZ | xyz(8.1095, 4.1019, 25.9504) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.34
Indigo (survey)
#380282
ΔE00 4.34
Indigo Blue
#3A18B1
ΔE00 5.60
Royal Purple (survey)
#4B006E
ΔE00 6.14
Royal
#0C1793
ΔE00 6.96
Ultramarine
#2000B1
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B188E #5B8E18
analogous
#18208E #4B188E #86188E
triadic
#4B188E #8E4B18 #188E4B
tetradic
#4B188E #8E1820 #5B8E18 #188E86
square
#4B188E #8E1820 #5B8E18 #188E86
split-complementary
#4B188E #8E8618 #208E18
monochromatic
#140625 #2F0F5A #4B188E #6721C2 #8641DF
Accessibility & contrast
On white
11.54
#4B188E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#4B188E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B188E
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B188E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B188E | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#383A54
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #4b188e; /* rgb */ color: rgb(75, 24, 142); /* oklch */ color: oklch(36.7% 0.175 295.8);
Tailwind
colors: {
custom: {
50: '#855db0',
500: '#4b188e',
950: '#000000',
},
}SCSS
$custom: #4b188e; $custom-light: #855db0; $custom-dark: #000000;
JSON
{
"hex": "#4b188e",
"rgb": {
"r": 75,
"g": 24,
"b": 142
},
"hsl": {
"h": 265.932,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.36681,
"c": 0.17523,
"h": 295.8
},
"luminance": 0.04102
}Semantic roles & 50–950 ramp
primary
#4B188E
secondary
#89C042
accent
#EE3AA0
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980