#4F2CD4#4F2CD4
#4F2CD4 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.235 H 281.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2CD4 |
|---|---|
| RGB | rgb(79, 44, 212) |
| HSL | hsl(253, 66%, 50%) |
| HSV | hsv(253, 79%, 83%) |
| CMYK | cmyk(62.7%, 79.2%, 0%, 16.9%) |
| CIE-LAB | lab(34.43, 58.74, -79.73) |
| CIE-LCH | lch(34.43, 99.03, 306.38°) |
| OKLab | oklab(46.12% 0.0471 -0.23) |
| OKLCH | oklch(46.12% 0.235 281.6) |
| XYZ | xyz(16.0051, 8.2159, 63.0170) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.38
Blurple
#5539CC
ΔE00 2.68
Blue With A Hint Of Purple
#533CC6
ΔE00 3.50
Purpley Blue
#5F34E7
ΔE00 3.94
Blue Violet
#5D06E9
ΔE00 3.98
Blue Purple
#5A06EF
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2CD4 #B1D42C
analogous
#2C5DD4 #4F2CD4 #A32CD4
triadic
#4F2CD4 #D44F2C #2CD44F
tetradic
#4F2CD4 #D42C5D #B1D42C #2CD4A3
square
#4F2CD4 #D42C5D #B1D42C #2CD4A3
split-complementary
#4F2CD4 #D4A32C #5DD42C
monochromatic
#29176F #3C21A2 #4F2CD4 #795FDE #A492E9
Accessibility & contrast
On white
7.94
#4F2CD4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#4F2CD4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2CD4
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2CD4 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#004BD1
Tritanopia (blue-blind)
#005F81
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4f2cd4; /* rgb */ color: rgb(79, 44, 212); /* oklch */ color: oklch(46.1% 0.235 281.6);
Tailwind
colors: {
custom: {
50: '#916be3',
500: '#4f2cd4',
950: '#000000',
},
}SCSS
$custom: #4f2cd4; $custom-light: #916be3; $custom-dark: #000000;
JSON
{
"hex": "#4f2cd4",
"rgb": {
"r": 79,
"g": 44,
"b": 212
},
"hsl": {
"h": 252.5,
"s": 66.142,
"l": 50.196
},
"oklch": {
"l": 0.46118,
"c": 0.2348,
"h": 281.6
},
"luminance": 0.08217
}Semantic roles & 50–950 ramp
primary
#4F2CD4
secondary
#C4D388
accent
#E93FC6
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84