#4D2DCD#4D2DCD
#4D2DCD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.226 H 281.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2DCD |
|---|---|
| RGB | rgb(77, 45, 205) |
| HSL | hsl(252, 64%, 49%) |
| HSV | hsv(252, 78%, 80%) |
| CMYK | cmyk(62.4%, 78%, 0%, 19.6%) |
| CIE-LAB | lab(33.69, 56.10, -76.89) |
| CIE-LCH | lch(33.69, 95.18, 306.12°) |
| OKLab | oklab(45.35% 0.0457 -0.2218) |
| OKLCH | oklch(45.35% 0.226 281.6) |
| XYZ | xyz(15.0149, 7.8612, 58.4719) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.62
Blurple
#5539CC
ΔE00 2.64
Blue With A Hint Of Purple
#533CC6
ΔE00 3.25
Violet Blue
#510AC9
ΔE00 4.39
Blue Violet
#5D06E9
ΔE00 4.67
Purpley Blue
#5F34E7
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2DCD #ADCD2D
analogous
#2D5DCD #4D2DCD #9D2DCD
triadic
#4D2DCD #CD4D2D #2DCD4D
tetradic
#4D2DCD #CD2D5D #ADCD2D #2DCD9D
square
#4D2DCD #CD2D5D #ADCD2D #2DCD9D
split-complementary
#4D2DCD #CD9D2D #5DCD2D
monochromatic
#271769 #3A229B #4D2DCD #755CDB #A08EE6
Accessibility & contrast
On white
8.16
#4D2DCD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#4D2DCD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2DCD
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2DCD | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054D1
Deuteranopia (green-blind)
#0049CA
Tritanopia (blue-blind)
#005D7D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4d2dcd; /* rgb */ color: rgb(77, 45, 205); /* oklch */ color: oklch(45.4% 0.226 281.6);
Tailwind
colors: {
custom: {
50: '#8f6bde',
500: '#4d2dcd',
950: '#000000',
},
}SCSS
$custom: #4d2dcd; $custom-light: #8f6bde; $custom-dark: #000000;
JSON
{
"hex": "#4d2dcd",
"rgb": {
"r": 77,
"g": 45,
"b": 205
},
"hsl": {
"h": 252,
"s": 64,
"l": 49.02
},
"oklch": {
"l": 0.4535,
"c": 0.22649,
"h": 281.6
},
"luminance": 0.07862
}Semantic roles & 50–950 ramp
primary
#4D2DCD
secondary
#C2D185
accent
#E741C6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83