#4D2FD8#4D2FD8
#4D2FD8 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.237 H 280.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2FD8 |
|---|---|
| RGB | rgb(77, 47, 216) |
| HSL | hsl(251, 68%, 52%) |
| HSV | hsv(251, 78%, 85%) |
| CMYK | cmyk(64.4%, 78.2%, 0%, 15.3%) |
| CIE-LAB | lab(35.14, 58.32, -80.87) |
| CIE-LCH | lch(35.14, 99.71, 305.80°) |
| OKLab | oklab(46.69% 0.0415 -0.2335) |
| OKLCH | oklch(46.69% 0.237 280.1) |
| XYZ | xyz(16.4678, 8.5674, 65.7383) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.42
Purple Blue
#5D21D0
ΔE00 3.07
Blue With A Hint Of Purple
#533CC6
ΔE00 3.29
Purpley Blue
#5F34E7
ΔE00 3.43
Burple
#6832E3
ΔE00 3.99
Blue Violet
#5D06E9
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2FD8 #BAD82F
analogous
#2F66D8 #4D2FD8 #A22FD8
triadic
#4D2FD8 #D84D2F #2FD84D
tetradic
#4D2FD8 #D82F66 #BAD82F #2FD8A2
square
#4D2FD8 #D82F66 #BAD82F #2FD8A2
split-complementary
#4D2FD8 #D8A22F #66D82F
monochromatic
#271676 #3820AA #4D2FD8 #7963E2 #A596EB
Accessibility & contrast
On white
7.74
#4D2FD8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#4D2FD8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2FD8
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2FD8 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059DD
Deuteranopia (green-blind)
#004CD5
Tritanopia (blue-blind)
#006283
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #4d2fd8; /* rgb */ color: rgb(77, 47, 216); /* oklch */ color: oklch(46.7% 0.237 280.1);
Tailwind
colors: {
custom: {
50: '#916de5',
500: '#4d2fd8',
950: '#000000',
},
}SCSS
$custom: #4d2fd8; $custom-light: #916de5; $custom-dark: #000000;
JSON
{
"hex": "#4d2fd8",
"rgb": {
"r": 77,
"g": 47,
"b": 216
},
"hsl": {
"h": 250.651,
"s": 68.421,
"l": 51.569
},
"oklch": {
"l": 0.4669,
"c": 0.23712,
"h": 280.1
},
"luminance": 0.08569
}Semantic roles & 50–950 ramp
primary
#4D2FD8
secondary
#C9D78C
accent
#EB3DCC
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84