#4D116F#4D116F
#4D116F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.150 H 309.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4D116F |
|---|---|
| RGB | rgb(77, 17, 111) |
| HSL | hsl(278, 73%, 25%) |
| HSV | hsv(278, 85%, 44%) |
| CMYK | cmyk(30.6%, 84.7%, 0%, 56.5%) |
| CIE-LAB | lab(20.54, 43.00, -41.01) |
| CIE-LCH | lch(20.54, 59.42, 316.35°) |
| OKLab | oklab(33.46% 0.0947 -0.1165) |
| OKLCH | oklch(33.46% 0.15 309.1) |
| XYZ | xyz(6.1297, 3.1265, 15.3164) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.01
Indigo
#4B0082
ΔE00 4.06
Indigo (survey)
#380282
ΔE00 6.07
Plum Purple
#4E0550
ΔE00 6.90
Deep Violet
#490648
ΔE00 8.34
Dark Indigo
#1F0954
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D116F #336F11
analogous
#1E116F #4D116F #6F1162
triadic
#4D116F #6F4D11 #116F4D
tetradic
#4D116F #6F1E11 #336F11 #11626F
square
#4D116F #6F1E11 #336F11 #11626F
split-complementary
#4D116F #626F11 #116F1E
monochromatic
#12041B #28093A #4D116F #7219A4 #9721D9
Accessibility & contrast
On white
12.92
#4D116F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#4D116F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D116F
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D116F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D116F | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#482A41
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #4d116f; /* rgb */ color: rgb(77, 17, 111); /* oklch */ color: oklch(33.5% 0.150 309.1);
Tailwind
colors: {
custom: {
50: '#835899',
500: '#4d116f',
950: '#000000',
},
}SCSS
$custom: #4d116f; $custom-light: #835899; $custom-dark: #000000;
JSON
{
"hex": "#4d116f",
"rgb": {
"r": 77,
"g": 17,
"b": 111
},
"hsl": {
"h": 278.298,
"s": 73.438,
"l": 25.098
},
"oklch": {
"l": 0.33461,
"c": 0.15013,
"h": 309.1
},
"luminance": 0.03126
}Semantic roles & 50–950 ramp
primary
#4D116F
secondary
#5EA635
accent
#F0387A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E