#4D136F#4D136F
#4D136F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.148 H 308.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4D136F |
|---|---|
| RGB | rgb(77, 19, 111) |
| HSL | hsl(278, 71%, 25%) |
| HSV | hsv(278, 83%, 44%) |
| CMYK | cmyk(30.6%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(20.79, 42.27, -40.60) |
| CIE-LCH | lch(20.79, 58.61, 316.15°) |
| OKLab | oklab(33.64% 0.093 -0.1153) |
| OKLCH | oklch(33.64% 0.148 308.9) |
| XYZ | xyz(6.1621, 3.1913, 15.3272) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.30
Indigo
#4B0082
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 6.20
Plum Purple
#4E0550
ΔE00 6.93
Deep Violet
#490648
ΔE00 8.35
Dark Indigo
#1F0954
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D136F #356F13
analogous
#1F136F #4D136F #6F1363
triadic
#4D136F #6F4D13 #136F4D
tetradic
#4D136F #6F1F13 #356F13 #13636F
square
#4D136F #6F1F13 #356F13 #13636F
split-complementary
#4D136F #636F13 #136F1F
monochromatic
#12041A #290A3B #4D136F #711CA3 #9525D8
Accessibility & contrast
On white
12.82
#4D136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#4D136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D136F
12.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D136F | 1.00 | 12.82 | 1.64 | 12.82 |
| #FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#482B41
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #4d136f; /* rgb */ color: rgb(77, 19, 111); /* oklch */ color: oklch(33.6% 0.148 308.9);
Tailwind
colors: {
custom: {
50: '#835999',
500: '#4d136f',
950: '#000000',
},
}SCSS
$custom: #4d136f; $custom-light: #835999; $custom-dark: #000000;
JSON
{
"hex": "#4d136f",
"rgb": {
"r": 77,
"g": 19,
"b": 111
},
"hsl": {
"h": 277.826,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.33636,
"c": 0.14815,
"h": 308.9
},
"luminance": 0.03191
}Semantic roles & 50–950 ramp
primary
#4D136F
secondary
#61A638
accent
#EE3A7D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E