#4D137C#4D137C
#4D137C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.161 H 303.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4D137C |
|---|---|
| RGB | rgb(77, 19, 124) |
| HSL | hsl(273, 73%, 28%) |
| HSV | hsv(273, 85%, 49%) |
| CMYK | cmyk(37.9%, 84.7%, 0%, 51.4%) |
| CIE-LAB | lab(21.94, 45.35, -47.08) |
| CIE-LCH | lch(21.94, 65.37, 313.93°) |
| OKLab | oklab(34.79% 0.0892 -0.1344) |
| OKLCH | oklch(34.79% 0.161 303.6) |
| XYZ | xyz(6.9307, 3.4988, 19.3751) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.37
Royal Purple (survey)
#4B006E
ΔE00 3.18
Indigo (survey)
#380282
ΔE00 4.55
Rebeccapurple
#663399
ΔE00 8.30
Midnight Blue
#191970
ΔE00 8.61
Indigo Blue
#3A18B1
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D137C #427C13
analogous
#18137C #4D137C #7C1376
triadic
#4D137C #7C4D13 #137C4D
tetradic
#4D137C #7C1813 #427C13 #13767C
square
#4D137C #7C1813 #427C13 #13767C
split-complementary
#4D137C #767C13 #137C18
monochromatic
#10041B #2C0B47 #4D137C #6E1BB1 #8E2BDF
Accessibility & contrast
On white
12.35
#4D137C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#4D137C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D137C
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D137C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D137C | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#433049
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #4d137c; /* rgb */ color: rgb(77, 19, 124); /* oklch */ color: oklch(34.8% 0.161 303.6);
Tailwind
colors: {
custom: {
50: '#845aa3',
500: '#4d137c',
950: '#000000',
},
}SCSS
$custom: #4d137c; $custom-light: #845aa3; $custom-dark: #000000;
JSON
{
"hex": "#4d137c",
"rgb": {
"r": 77,
"g": 19,
"b": 124
},
"hsl": {
"h": 273.143,
"s": 73.427,
"l": 28.039
},
"oklch": {
"l": 0.3479,
"c": 0.16127,
"h": 303.6
},
"luminance": 0.03499
}Semantic roles & 50–950 ramp
primary
#4D137C
secondary
#6FB239
accent
#F0388A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B040F
muted
#7C797F