#4D196F#4D196F
#4D196F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.141 H 308.1°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #4D196F |
|---|---|
| RGB | rgb(77, 25, 111) |
| HSL | hsl(276, 63%, 27%) |
| HSV | hsv(276, 77%, 44%) |
| CMYK | cmyk(30.6%, 77.5%, 0%, 56.5%) |
| CIE-LAB | lab(21.66, 39.79, -39.20) |
| CIE-LCH | lch(21.66, 55.86, 315.43°) |
| OKLab | oklab(34.24% 0.0872 -0.1113) |
| OKLCH | oklch(34.24% 0.141 308.1) |
| XYZ | xyz(6.2768, 3.4208, 15.3655) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.33
Indigo
#4B0082
ΔE00 4.89
Indigo (survey)
#380282
ΔE00 6.72
Plum Purple
#4E0550
ΔE00 7.12
Deep Violet
#490648
ΔE00 8.48
Darkish Purple
#751973
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D196F #3B6F19
analogous
#22196F #4D196F #6F1966
triadic
#4D196F #6F4D19 #196F4D
tetradic
#4D196F #6F2219 #3B6F19 #19666F
square
#4D196F #6F2219 #3B6F19 #19666F
split-complementary
#4D196F #666F19 #196F22
monochromatic
#110619 #2A0E3D #4D196F #7024A1 #9232D1
Accessibility & contrast
On white
12.47
#4D196F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#4D196F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D196F
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D196F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D196F | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#482D43
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #4d196f; /* rgb */ color: rgb(77, 25, 111); /* oklch */ color: oklch(34.2% 0.141 308.1);
Tailwind
colors: {
custom: {
50: '#835b99',
500: '#4d196f',
950: '#000000',
},
}SCSS
$custom: #4d196f; $custom-light: #835b99; $custom-dark: #000000;
JSON
{
"hex": "#4d196f",
"rgb": {
"r": 77,
"g": 25,
"b": 111
},
"hsl": {
"h": 276.279,
"s": 63.235,
"l": 26.667
},
"oklch": {
"l": 0.34243,
"c": 0.1414,
"h": 308.1
},
"luminance": 0.03421
}Semantic roles & 50–950 ramp
primary
#4D196F
secondary
#67A43F
accent
#E64283
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E