#4D2DDF#4D2DDF
#4D2DDF is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.246 H 279.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2DDF |
|---|---|
| RGB | rgb(77, 45, 223) |
| HSL | hsl(251, 74%, 53%) |
| HSV | hsv(251, 80%, 87%) |
| CMYK | cmyk(65.5%, 79.8%, 0%, 12.5%) |
| CIE-LAB | lab(35.56, 61.20, -84.20) |
| CIE-LCH | lch(35.56, 104.09, 306.01°) |
| OKLab | oklab(47.2% 0.0405 -0.2431) |
| OKLCH | oklch(47.2% 0.246 279.5) |
| XYZ | xyz(17.3140, 8.7808, 70.5802) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 3.01
Blurple
#5539CC
ΔE00 3.02
Purple Blue
#5D21D0
ΔE00 3.23
Light Royal Blue
#3A2EFE
ΔE00 3.59
Burple
#6832E3
ΔE00 3.68
Blue Purple
#5A06EF
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2DDF #BFDF2D
analogous
#2D66DF #4D2DDF #A62DDF
triadic
#4D2DDF #DF4D2D #2DDF4D
tetradic
#4D2DDF #DF2D66 #BFDF2D #2DDFA6
square
#4D2DDF #DF2D66 #BFDF2D #2DDFA6
split-complementary
#4D2DDF #DFA62D #66DF2D
monochromatic
#27137E #371BB3 #4D2DDF #7A62E7 #A797EF
Accessibility & contrast
On white
7.62
#4D2DDF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#4D2DDF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2DDF
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2DDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2DDF | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AE4
Deuteranopia (green-blind)
#004DDC
Tritanopia (blue-blind)
#006487
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #4d2ddf; /* rgb */ color: rgb(77, 45, 223); /* oklch */ color: oklch(47.2% 0.246 279.5);
Tailwind
colors: {
custom: {
50: '#926ceb',
500: '#4d2ddf',
950: '#000000',
},
}SCSS
$custom: #4d2ddf; $custom-light: #926ceb; $custom-dark: #000000;
JSON
{
"hex": "#4d2ddf",
"rgb": {
"r": 77,
"g": 45,
"b": 223
},
"hsl": {
"h": 250.787,
"s": 73.554,
"l": 52.549
},
"oklch": {
"l": 0.47198,
"c": 0.24646,
"h": 279.5
},
"luminance": 0.08782
}Semantic roles & 50–950 ramp
primary
#4D2DDF
secondary
#CDDB8D
accent
#F038CF
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0F0716
muted
#7E7A84