#4C196F#4C196F
#4C196F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.141 H 307.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #4C196F |
|---|---|
| RGB | rgb(76, 25, 111) |
| HSL | hsl(276, 63%, 27%) |
| HSV | hsv(276, 77%, 44%) |
| CMYK | cmyk(31.5%, 77.5%, 0%, 56.5%) |
| CIE-LAB | lab(21.50, 39.59, -39.46) |
| CIE-LCH | lch(21.50, 55.89, 315.09°) |
| OKLab | oklab(34.1% 0.0858 -0.112) |
| OKLCH | oklch(34.1% 0.141 307.4) |
| XYZ | xyz(6.1968, 3.3795, 15.3617) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.31
Indigo
#4B0082
ΔE00 4.82
Indigo (survey)
#380282
ΔE00 6.57
Plum Purple
#4E0550
ΔE00 7.23
Deep Violet
#490648
ΔE00 8.57
Dark Indigo
#1F0954
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C196F #3C6F19
analogous
#21196F #4C196F #6F1967
triadic
#4C196F #6F4C19 #196F4C
tetradic
#4C196F #6F2119 #3C6F19 #19676F
square
#4C196F #6F2119 #3C6F19 #19676F
split-complementary
#4C196F #676F19 #196F21
monochromatic
#110619 #2A0E3D #4C196F #6E24A1 #9032D1
Accessibility & contrast
On white
12.53
#4C196F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#4C196F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C196F
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C196F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C196F | 1.00 | 12.53 | 1.68 | 12.53 |
| #FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#462E43
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #4c196f; /* rgb */ color: rgb(76, 25, 111); /* oklch */ color: oklch(34.1% 0.141 307.4);
Tailwind
colors: {
custom: {
50: '#825b99',
500: '#4c196f',
950: '#000000',
},
}SCSS
$custom: #4c196f; $custom-light: #825b99; $custom-dark: #000000;
JSON
{
"hex": "#4c196f",
"rgb": {
"r": 76,
"g": 25,
"b": 111
},
"hsl": {
"h": 275.581,
"s": 63.235,
"l": 26.667
},
"oklch": {
"l": 0.34103,
"c": 0.1411,
"h": 307.4
},
"luminance": 0.03379
}Semantic roles & 50–950 ramp
primary
#4C196F
secondary
#69A43F
accent
#E64285
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E