#4D2BCA#4D2BCA
#4D2BCA is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.225 H 282.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2BCA |
|---|---|
| RGB | rgb(77, 43, 202) |
| HSL | hsl(253, 65%, 48%) |
| HSV | hsv(253, 79%, 79%) |
| CMYK | cmyk(61.9%, 78.7%, 0%, 20.8%) |
| CIE-LAB | lab(33.07, 56.17, -76.17) |
| CIE-LCH | lch(33.07, 94.64, 306.40°) |
| OKLab | oklab(44.83% 0.0476 -0.2197) |
| OKLCH | oklch(44.83% 0.225 282.2) |
| XYZ | xyz(14.5818, 7.5688, 56.5582) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.49
Blurple
#5539CC
ΔE00 3.09
Blue With A Hint Of Purple
#533CC6
ΔE00 3.62
Violet Blue
#510AC9
ΔE00 3.92
Blue Violet
#5D06E9
ΔE00 4.73
Blue Purple
#5A06EF
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2BCA #A8CA2B
analogous
#2B59CA #4D2BCA #9C2BCA
triadic
#4D2BCA #CA4D2B #2BCA4D
tetradic
#4D2BCA #CA2B59 #A8CA2B #2BCA9C
square
#4D2BCA #CA2B59 #A8CA2B #2BCA9C
split-complementary
#4D2BCA #CA9C2B #59CA2B
monochromatic
#271665 #3A2098 #4D2BCA #7357DB #9D89E6
Accessibility & contrast
On white
8.35
#4D2BCA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#4D2BCA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2BCA
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2BCA | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#005B7B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4d2bca; /* rgb */ color: rgb(77, 43, 202); /* oklch */ color: oklch(44.8% 0.225 282.2);
Tailwind
colors: {
custom: {
50: '#8e6adc',
500: '#4d2bca',
950: '#000000',
},
}SCSS
$custom: #4d2bca; $custom-light: #8e6adc; $custom-dark: #000000;
JSON
{
"hex": "#4d2bca",
"rgb": {
"r": 77,
"g": 43,
"b": 202
},
"hsl": {
"h": 252.83,
"s": 64.898,
"l": 48.039
},
"oklch": {
"l": 0.44825,
"c": 0.22482,
"h": 282.2
},
"luminance": 0.0757
}Semantic roles & 50–950 ramp
primary
#4D2BCA
secondary
#BFD081
accent
#E840C4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83