#4B196E#4B196E
#4B196E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.140 H 307.2°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4B196E |
|---|---|
| RGB | rgb(75, 25, 110) |
| HSL | hsl(275, 63%, 26%) |
| HSV | hsv(275, 77%, 43%) |
| CMYK | cmyk(31.8%, 77.3%, 0%, 56.9%) |
| CIE-LAB | lab(21.27, 39.13, -39.19) |
| CIE-LCH | lch(21.27, 55.38, 314.95°) |
| OKLab | oklab(33.88% 0.0845 -0.1113) |
| OKLCH | oklch(33.88% 0.14 307.2) |
| XYZ | xyz(6.0632, 3.3170, 15.0697) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.34
Indigo
#4B0082
ΔE00 4.92
Indigo (survey)
#380282
ΔE00 6.58
Plum Purple
#4E0550
ΔE00 7.17
Deep Violet
#490648
ΔE00 8.47
Dark Indigo
#1F0954
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B196E #3C6E19
analogous
#21196E #4B196E #6E1967
triadic
#4B196E #6E4B19 #196E4B
tetradic
#4B196E #6E2119 #3C6E19 #19676E
square
#4B196E #6E2119 #3C6E19 #19676E
split-complementary
#4B196E #676E19 #196E21
monochromatic
#110619 #290E3C #4B196E #6D24A0 #8F31D0
Accessibility & contrast
On white
12.62
#4B196E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#4B196E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B196E
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B196E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B196E | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#452D42
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #4b196e; /* rgb */ color: rgb(75, 25, 110); /* oklch */ color: oklch(33.9% 0.140 307.2);
Tailwind
colors: {
custom: {
50: '#815b98',
500: '#4b196e',
950: '#000000',
},
}SCSS
$custom: #4b196e; $custom-light: #815b98; $custom-dark: #000000;
JSON
{
"hex": "#4b196e",
"rgb": {
"r": 75,
"g": 25,
"b": 110
},
"hsl": {
"h": 275.294,
"s": 62.963,
"l": 26.471
},
"oklch": {
"l": 0.33881,
"c": 0.13973,
"h": 307.2
},
"luminance": 0.03317
}Semantic roles & 50–950 ramp
primary
#4B196E
secondary
#69A33F
accent
#E64285
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E