#4D1CA1#4D1CA1
#4D1CA1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.192 H 291.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4D1CA1 |
|---|---|
| RGB | rgb(77, 28, 161) |
| HSL | hsl(262, 70%, 37%) |
| HSV | hsv(262, 83%, 63%) |
| CMYK | cmyk(52.2%, 82.6%, 0%, 36.9%) |
| CIE-LAB | lab(26.68, 51.34, -62.30) |
| CIE-LCH | lch(26.68, 80.73, 309.49°) |
| OKLab | oklab(39.16% 0.07 -0.1791) |
| OKLCH | oklch(39.16% 0.192 291.4) |
| XYZ | xyz(9.9070, 4.9811, 34.1507) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.32
Violet Blue
#510AC9
ΔE00 5.24
Ultramarine
#2000B1
ΔE00 5.82
Indigo
#4B0082
ΔE00 5.86
Indigo (survey)
#380282
ΔE00 6.39
Cobalt Blue
#030AA7
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D1CA1 #70A11C
analogous
#1C2EA1 #4D1CA1 #8F1CA1
triadic
#4D1CA1 #A14D1C #1CA14D
tetradic
#4D1CA1 #A11C2E #70A11C #1CA18F
square
#4D1CA1 #A11C2E #70A11C #1CA18F
split-complementary
#4D1CA1 #A18F1C #2EA11C
monochromatic
#1B0A39 #34136D #4D1CA1 #6625D5 #8956E2
Accessibility & contrast
On white
10.52
#4D1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4D1CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D1CA1
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D1CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D1CA1 | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#2F4460
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4d1ca1; /* rgb */ color: rgb(77, 28, 161); /* oklch */ color: oklch(39.2% 0.192 291.4);
Tailwind
colors: {
custom: {
50: '#8960be',
500: '#4d1ca1',
950: '#000000',
},
}SCSS
$custom: #4d1ca1; $custom-light: #8960be; $custom-dark: #000000;
JSON
{
"hex": "#4d1ca1",
"rgb": {
"r": 77,
"g": 28,
"b": 161
},
"hsl": {
"h": 262.105,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.39155,
"c": 0.19226,
"h": 291.4
},
"luminance": 0.04981
}Semantic roles & 50–950 ramp
primary
#4D1CA1
secondary
#9BC554
accent
#ED3BAB
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981