#4D2FD2#4D2FD2
#4D2FD2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.230 H 280.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2FD2 |
|---|---|
| RGB | rgb(77, 47, 210) |
| HSL | hsl(251, 64%, 50%) |
| HSV | hsv(251, 78%, 82%) |
| CMYK | cmyk(63.3%, 77.6%, 0%, 17.6%) |
| CIE-LAB | lab(34.52, 56.60, -78.42) |
| CIE-LCH | lch(34.52, 96.71, 305.82°) |
| OKLab | oklab(46.08% 0.0432 -0.2263) |
| OKLCH | oklch(46.08% 0.23 280.8) |
| XYZ | xyz(15.7063, 8.2627, 61.7275) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.26
Purple Blue
#5D21D0
ΔE00 2.88
Blue With A Hint Of Purple
#533CC6
ΔE00 3.01
Purpley Blue
#5F34E7
ΔE00 4.02
Burple
#6832E3
ΔE00 4.45
Blue Violet
#5D06E9
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2FD2 #B4D22F
analogous
#2F62D2 #4D2FD2 #9E2FD2
triadic
#4D2FD2 #D24D2F #2FD24D
tetradic
#4D2FD2 #D22F62 #B4D22F #2FD29E
square
#4D2FD2 #D22F62 #B4D22F #2FD29E
split-complementary
#4D2FD2 #D29E2F #62D22F
monochromatic
#28186F #3A23A1 #4D2FD2 #7861DD #A394E8
Accessibility & contrast
On white
7.92
#4D2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#4D2FD2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2FD2
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2FD2 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057D7
Deuteranopia (green-blind)
#004BCF
Tritanopia (blue-blind)
#006080
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4d2fd2; /* rgb */ color: rgb(77, 47, 210); /* oklch */ color: oklch(46.1% 0.230 280.8);
Tailwind
colors: {
custom: {
50: '#906ce1',
500: '#4d2fd2',
950: '#000000',
},
}SCSS
$custom: #4d2fd2; $custom-light: #906ce1; $custom-dark: #000000;
JSON
{
"hex": "#4d2fd2",
"rgb": {
"r": 77,
"g": 47,
"b": 210
},
"hsl": {
"h": 251.043,
"s": 64.427,
"l": 50.392
},
"oklch": {
"l": 0.46081,
"c": 0.23039,
"h": 280.8
},
"luminance": 0.08264
}Semantic roles & 50–950 ramp
primary
#4D2FD2
secondary
#C5D38A
accent
#E740C9
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0715
muted
#7E7A84