#4D2DC9#4D2DC9
#4D2DC9 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.222 H 282.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2DC9 |
|---|---|
| RGB | rgb(77, 45, 201) |
| HSL | hsl(252, 63%, 48%) |
| HSV | hsv(252, 78%, 79%) |
| CMYK | cmyk(61.7%, 77.6%, 0%, 21.2%) |
| CIE-LAB | lab(33.29, 54.96, -75.23) |
| CIE-LCH | lch(33.29, 93.16, 306.15°) |
| OKLab | oklab(44.95% 0.0468 -0.217) |
| OKLCH | oklch(44.95% 0.222 282.2) |
| XYZ | xyz(14.5383, 7.6706, 55.9615) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.72
Blurple
#5539CC
ΔE00 2.79
Blue With A Hint Of Purple
#533CC6
ΔE00 3.27
Violet Blue
#510AC9
ΔE00 4.27
Blue Violet
#5D06E9
ΔE00 5.00
Purpley Blue
#5F34E7
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2DC9 #A9C92D
analogous
#2D5BC9 #4D2DC9 #9B2DC9
triadic
#4D2DC9 #C94D2D #2DC94D
tetradic
#4D2DC9 #C92D5B #A9C92D #2DC99B
square
#4D2DC9 #C92D5B #A9C92D #2DC99B
split-complementary
#4D2DC9 #C99B2D #5BC92D
monochromatic
#271765 #3A2297 #4D2DC9 #7459DA #9E8BE5
Accessibility & contrast
On white
8.29
#4D2DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#4D2DC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2DC9
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2DC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2DC9 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4d2dc9; /* rgb */ color: rgb(77, 45, 201); /* oklch */ color: oklch(44.9% 0.222 282.2);
Tailwind
colors: {
custom: {
50: '#8e6bdb',
500: '#4d2dc9',
950: '#000000',
},
}SCSS
$custom: #4d2dc9; $custom-light: #8e6bdb; $custom-dark: #000000;
JSON
{
"hex": "#4d2dc9",
"rgb": {
"r": 77,
"g": 45,
"b": 201
},
"hsl": {
"h": 252.308,
"s": 63.415,
"l": 48.235
},
"oklch": {
"l": 0.44947,
"c": 0.22197,
"h": 282.2
},
"luminance": 0.07672
}Semantic roles & 50–950 ramp
primary
#4D2DC9
secondary
#BFCF83
accent
#E641C5
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83