#4D2FC2#4D2FC2
#4D2FC2 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.212 H 282.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2FC2 |
|---|---|
| RGB | rgb(77, 47, 194) |
| HSL | hsl(252, 61%, 47%) |
| HSV | hsv(252, 76%, 76%) |
| CMYK | cmyk(60.3%, 75.8%, 0%, 23.9%) |
| CIE-LAB | lab(32.93, 51.97, -71.72) |
| CIE-LCH | lch(32.93, 88.56, 305.93°) |
| OKLab | oklab(44.49% 0.0474 -0.2068) |
| OKLCH | oklch(44.49% 0.212 282.9) |
| XYZ | xyz(13.8117, 7.5049, 51.7493) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.89
Blue With A Hint Of Purple
#533CC6
ΔE00 3.09
Purple Blue
#5D21D0
ΔE00 3.31
Violet Blue
#510AC9
ΔE00 4.60
Ocean Blue
#4F42B5
ΔE00 4.86
Bluey Purple
#6241C7
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2FC2 #A4C22F
analogous
#2F5AC2 #4D2FC2 #972FC2
triadic
#4D2FC2 #C24D2F #2FC24D
tetradic
#4D2FC2 #C22F5A #A4C22F #2FC297
square
#4D2FC2 #C22F5A #A4C22F #2FC297
split-complementary
#4D2FC2 #C2972F #5AC22F
monochromatic
#26175F #392391 #4D2FC2 #7258D6 #9B89E2
Accessibility & contrast
On white
8.40
#4D2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#4D2FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2FC2
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2FC2 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4d2fc2; /* rgb */ color: rgb(77, 47, 194); /* oklch */ color: oklch(44.5% 0.212 282.9);
Tailwind
colors: {
custom: {
50: '#8d6cd6',
500: '#4d2fc2',
950: '#000000',
},
}SCSS
$custom: #4d2fc2; $custom-light: #8d6cd6; $custom-dark: #000000;
JSON
{
"hex": "#4d2fc2",
"rgb": {
"r": 77,
"g": 47,
"b": 194
},
"hsl": {
"h": 252.245,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.44489,
"c": 0.21214,
"h": 282.9
},
"luminance": 0.07506
}Semantic roles & 50–950 ramp
primary
#4D2FC2
secondary
#BDCC81
accent
#E444C3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83