#4D1F95#4D1F95
#4D1F95 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.176 H 294.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4D1F95 |
|---|---|
| RGB | rgb(77, 31, 149) |
| HSL | hsl(263, 66%, 35%) |
| HSV | hsv(263, 79%, 58%) |
| CMYK | cmyk(48.3%, 79.2%, 0%, 41.6%) |
| CIE-LAB | lab(25.94, 46.88, -56.17) |
| CIE-LCH | lch(25.94, 73.16, 309.85°) |
| OKLab | oklab(38.29% 0.0718 -0.1611) |
| OKLCH | oklch(38.29% 0.176 294) |
| XYZ | xyz(8.9739, 4.7274, 28.8676) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.86
Indigo
#4B0082
ΔE00 4.92
Indigo (survey)
#380282
ΔE00 5.73
Rebeccapurple
#663399
ΔE00 6.14
Ultramarine
#2000B1
ΔE00 6.97
Violet Blue
#510AC9
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D1F95 #67951F
analogous
#1F2C95 #4D1F95 #881F95
triadic
#4D1F95 #954D1F #1F954D
tetradic
#4D1F95 #951F2C #67951F #1F9588
square
#4D1F95 #951F2C #67951F #1F9588
split-complementary
#4D1F95 #95881F #2C951F
monochromatic
#190A30 #331462 #4D1F95 #672AC8 #8853DB
Accessibility & contrast
On white
10.79
#4D1F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4D1F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D1F95
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D1F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D1F95 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#37405A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4d1f95; /* rgb */ color: rgb(77, 31, 149); /* oklch */ color: oklch(38.3% 0.176 294.0);
Tailwind
colors: {
custom: {
50: '#8761b5',
500: '#4d1f95',
950: '#000000',
},
}SCSS
$custom: #4d1f95; $custom-light: #8761b5; $custom-dark: #000000;
JSON
{
"hex": "#4d1f95",
"rgb": {
"r": 77,
"g": 31,
"b": 149
},
"hsl": {
"h": 263.39,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.38289,
"c": 0.17641,
"h": 294
},
"luminance": 0.04728
}Semantic roles & 50–950 ramp
primary
#4D1F95
secondary
#94BF51
accent
#E93FA7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980