#4D2CD0#4D2CD0
#4D2CD0 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.231 H 281.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2CD0 |
|---|---|
| RGB | rgb(77, 44, 208) |
| HSL | hsl(252, 65%, 49%) |
| HSV | hsv(252, 79%, 82%) |
| CMYK | cmyk(63%, 78.8%, 0%, 18.4%) |
| CIE-LAB | lab(33.84, 57.41, -78.39) |
| CIE-LCH | lch(33.84, 97.16, 306.22°) |
| OKLab | oklab(45.55% 0.0453 -0.2262) |
| OKLCH | oklch(45.55% 0.231 281.3) |
| XYZ | xyz(15.3428, 7.9321, 60.3848) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.48
Blurple
#5539CC
ΔE00 2.76
Blue With A Hint Of Purple
#533CC6
ΔE00 3.45
Violet Blue
#510AC9
ΔE00 4.34
Blue Violet
#5D06E9
ΔE00 4.34
Purpley Blue
#5F34E7
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2CD0 #AFD02C
analogous
#2C5DD0 #4D2CD0 #9F2CD0
triadic
#4D2CD0 #D04D2C #2CD04D
tetradic
#4D2CD0 #D02C5D #AFD02C #2CD09F
square
#4D2CD0 #D02C5D #AFD02C #2CD09F
split-complementary
#4D2CD0 #D09F2C #5DD02C
monochromatic
#28176B #3A219D #4D2CD0 #765DDD #A18FE7
Accessibility & contrast
On white
8.12
#4D2CD0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#4D2CD0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2CD0
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2CD0 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055D5
Deuteranopia (green-blind)
#004ACD
Tritanopia (blue-blind)
#005E7E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #4d2cd0; /* rgb */ color: rgb(77, 44, 208); /* oklch */ color: oklch(45.5% 0.231 281.3);
Tailwind
colors: {
custom: {
50: '#8f6be0',
500: '#4d2cd0',
950: '#000000',
},
}SCSS
$custom: #4d2cd0; $custom-light: #8f6be0; $custom-dark: #000000;
JSON
{
"hex": "#4d2cd0",
"rgb": {
"r": 77,
"g": 44,
"b": 208
},
"hsl": {
"h": 252.073,
"s": 65.079,
"l": 49.412
},
"oklch": {
"l": 0.45545,
"c": 0.23069,
"h": 281.3
},
"luminance": 0.07933
}Semantic roles & 50–950 ramp
primary
#4D2CD0
secondary
#C3D286
accent
#E840C6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83