#4D2DC6#4D2DC6
#4D2DC6 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.6% C 0.219 H 282.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2DC6 |
|---|---|
| RGB | rgb(77, 45, 198) |
| HSL | hsl(253, 63%, 48%) |
| HSV | hsv(253, 77%, 78%) |
| CMYK | cmyk(61.1%, 77.3%, 0%, 22.4%) |
| CIE-LAB | lab(32.99, 54.09, -73.97) |
| CIE-LCH | lch(32.99, 91.64, 306.18°) |
| OKLab | oklab(44.65% 0.0476 -0.2133) |
| OKLCH | oklch(44.65% 0.219 282.6) |
| XYZ | xyz(14.1888, 7.5308, 54.1210) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.86
Blurple
#5539CC
ΔE00 2.95
Blue With A Hint Of Purple
#533CC6
ΔE00 3.33
Violet Blue
#510AC9
ΔE00 4.22
Blue Violet
#5D06E9
ΔE00 5.27
Bluey Purple
#6241C7
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2DC6 #A6C62D
analogous
#2D59C6 #4D2DC6 #992DC6
triadic
#4D2DC6 #C64D2D #2DC64D
tetradic
#4D2DC6 #C62D59 #A6C62D #2DC699
square
#4D2DC6 #C62D59 #A6C62D #2DC699
split-complementary
#4D2DC6 #C6992D #59C62D
monochromatic
#261662 #3A2294 #4D2DC6 #7257D9 #9C89E4
Accessibility & contrast
On white
8.38
#4D2DC6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#4D2DC6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2DC6
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2DC6 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052CA
Deuteranopia (green-blind)
#0048C3
Tritanopia (blue-blind)
#005A79
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4d2dc6; /* rgb */ color: rgb(77, 45, 198); /* oklch */ color: oklch(44.6% 0.219 282.6);
Tailwind
colors: {
custom: {
50: '#8e6bd9',
500: '#4d2dc6',
950: '#000000',
},
}SCSS
$custom: #4d2dc6; $custom-light: #8e6bd9; $custom-dark: #000000;
JSON
{
"hex": "#4d2dc6",
"rgb": {
"r": 77,
"g": 45,
"b": 198
},
"hsl": {
"h": 252.549,
"s": 62.963,
"l": 47.647
},
"oklch": {
"l": 0.44647,
"c": 0.21857,
"h": 282.6
},
"luminance": 0.07532
}Semantic roles & 50–950 ramp
primary
#4D2DC6
secondary
#BECE81
accent
#E642C4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83