#4C196E#4C196E
#4C196E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.140 H 307.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4C196E |
|---|---|
| RGB | rgb(76, 25, 110) |
| HSL | hsl(276, 63%, 26%) |
| HSV | hsv(276, 77%, 43%) |
| CMYK | cmyk(30.9%, 77.3%, 0%, 56.9%) |
| CIE-LAB | lab(21.42, 39.34, -38.94) |
| CIE-LCH | lch(21.42, 55.35, 315.29°) |
| OKLab | oklab(34.02% 0.086 -0.1105) |
| OKLCH | oklch(34.02% 0.14 307.9) |
| XYZ | xyz(6.1420, 3.3576, 15.0734) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.35
Indigo
#4B0082
ΔE00 4.99
Indigo (survey)
#380282
ΔE00 6.73
Plum Purple
#4E0550
ΔE00 7.05
Deep Violet
#490648
ΔE00 8.38
Dark Indigo
#1F0954
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C196E #3B6E19
analogous
#22196E #4C196E #6E1966
triadic
#4C196E #6E4C19 #196E4C
tetradic
#4C196E #6E2219 #3B6E19 #19666E
square
#4C196E #6E2219 #3B6E19 #19666E
split-complementary
#4C196E #666E19 #196E22
monochromatic
#110619 #2A0E3C #4C196E #6E24A0 #9131D0
Accessibility & contrast
On white
12.56
#4C196E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#4C196E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C196E
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C196E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C196E | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#462D42
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #4c196e; /* rgb */ color: rgb(76, 25, 110); /* oklch */ color: oklch(34.0% 0.140 307.9);
Tailwind
colors: {
custom: {
50: '#825b98',
500: '#4c196e',
950: '#000000',
},
}SCSS
$custom: #4c196e; $custom-light: #825b98; $custom-dark: #000000;
JSON
{
"hex": "#4c196e",
"rgb": {
"r": 76,
"g": 25,
"b": 110
},
"hsl": {
"h": 276,
"s": 62.963,
"l": 26.471
},
"oklch": {
"l": 0.3402,
"c": 0.14003,
"h": 307.9
},
"luminance": 0.03358
}Semantic roles & 50–950 ramp
primary
#4C196E
secondary
#67A33F
accent
#E64283
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E