#4D1A9F#4D1A9F
#4D1A9F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.8% C 0.192 H 292.1°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4D1A9F |
|---|---|
| RGB | rgb(77, 26, 159) |
| HSL | hsl(263, 72%, 36%) |
| HSV | hsv(263, 84%, 62%) |
| CMYK | cmyk(51.6%, 83.6%, 0%, 37.6%) |
| CIE-LAB | lab(26.21, 51.59, -61.85) |
| CIE-LCH | lch(26.21, 80.54, 309.83°) |
| OKLab | oklab(38.77% 0.072 -0.1777) |
| OKLCH | oklch(38.77% 0.192 292.1) |
| XYZ | xyz(9.6862, 4.8194, 33.2140) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.51
Indigo
#4B0082
ΔE00 5.43
Violet Blue
#510AC9
ΔE00 5.49
Ultramarine
#2000B1
ΔE00 5.78
Indigo (survey)
#380282
ΔE00 6.01
Cobalt Blue
#030AA7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D1A9F #6C9F1A
analogous
#1A299F #4D1A9F #901A9F
triadic
#4D1A9F #9F4D1A #1A9F4D
tetradic
#4D1A9F #9F1A29 #6C9F1A #1A9F90
square
#4D1A9F #9F1A29 #6C9F1A #1A9F90
split-complementary
#4D1A9F #9F901A #299F1A
monochromatic
#1A0936 #34116A #4D1A9F #6623D4 #8951E3
Accessibility & contrast
On white
10.69
#4D1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#4D1A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D1A9F
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D1A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D1A9F | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#31425E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4d1a9f; /* rgb */ color: rgb(77, 26, 159); /* oklch */ color: oklch(38.8% 0.192 292.1);
Tailwind
colors: {
custom: {
50: '#885fbd',
500: '#4d1a9f',
950: '#000000',
},
}SCSS
$custom: #4d1a9f; $custom-light: #885fbd; $custom-dark: #000000;
JSON
{
"hex": "#4d1a9f",
"rgb": {
"r": 77,
"g": 26,
"b": 159
},
"hsl": {
"h": 263.008,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.38772,
"c": 0.19175,
"h": 292.1
},
"luminance": 0.0482
}Semantic roles & 50–950 ramp
primary
#4D1A9F
secondary
#98C550
accent
#EF39A9
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981