#4B2196#4B2196
#4B2196 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.175 H 292.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2196 |
|---|---|
| RGB | rgb(75, 33, 150) |
| HSL | hsl(262, 64%, 36%) |
| HSV | hsv(262, 78%, 59%) |
| CMYK | cmyk(50%, 78%, 0%, 41.2%) |
| CIE-LAB | lab(26.11, 45.94, -56.51) |
| CIE-LCH | lch(26.11, 72.83, 309.11°) |
| OKLab | oklab(38.38% 0.0668 -0.1622) |
| OKLCH | oklch(38.38% 0.175 292.4) |
| XYZ | xyz(8.9490, 4.7853, 29.3004) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.62
Indigo
#4B0082
ΔE00 5.35
Indigo (survey)
#380282
ΔE00 5.93
Rebeccapurple
#663399
ΔE00 6.19
Ultramarine
#2000B1
ΔE00 6.86
Royal
#0C1793
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2196 #6C9621
analogous
#213296 #4B2196 #852196
triadic
#4B2196 #964B21 #21964B
tetradic
#4B2196 #962132 #6C9621 #219685
square
#4B2196 #962132 #6C9621 #219685
split-complementary
#4B2196 #968521 #329621
monochromatic
#190B32 #321664 #4B2196 #642CC8 #8657DA
Accessibility & contrast
On white
10.73
#4B2196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#4B2196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2196
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2196 | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#33415B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4b2196; /* rgb */ color: rgb(75, 33, 150); /* oklch */ color: oklch(38.4% 0.175 292.4);
Tailwind
colors: {
custom: {
50: '#8561b6',
500: '#4b2196',
950: '#000000',
},
}SCSS
$custom: #4b2196; $custom-light: #8561b6; $custom-dark: #000000;
JSON
{
"hex": "#4b2196",
"rgb": {
"r": 75,
"g": 33,
"b": 150
},
"hsl": {
"h": 261.538,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.38382,
"c": 0.17544,
"h": 292.4
},
"luminance": 0.04786
}Semantic roles & 50–950 ramp
primary
#4B2196
secondary
#98BE55
accent
#E741AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980