#4F2CD5#4F2CD5
#4F2CD5 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.236 H 281.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2CD5 |
|---|---|
| RGB | rgb(79, 44, 213) |
| HSL | hsl(252, 67%, 50%) |
| HSV | hsv(252, 79%, 84%) |
| CMYK | cmyk(62.9%, 79.3%, 0%, 16.5%) |
| CIE-LAB | lab(34.53, 59.02, -80.13) |
| CIE-LCH | lch(34.53, 99.52, 306.37°) |
| OKLab | oklab(46.22% 0.0468 -0.2312) |
| OKLCH | oklch(46.22% 0.236 281.4) |
| XYZ | xyz(16.1316, 8.2665, 63.6834) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.42
Blurple
#5539CC
ΔE00 2.69
Blue With A Hint Of Purple
#533CC6
ΔE00 3.54
Purpley Blue
#5F34E7
ΔE00 3.84
Blue Violet
#5D06E9
ΔE00 3.92
Blue Purple
#5A06EF
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2CD5 #B2D52C
analogous
#2C5DD5 #4F2CD5 #A32CD5
triadic
#4F2CD5 #D54F2C #2CD54F
tetradic
#4F2CD5 #D52C5D #B2D52C #2CD5A3
square
#4F2CD5 #D52C5D #B2D52C #2CD5A3
split-complementary
#4F2CD5 #D5A32C #5DD52C
monochromatic
#291670 #3C21A3 #4F2CD5 #7A5FDF #A492E9
Accessibility & contrast
On white
7.91
#4F2CD5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#4F2CD5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2CD5
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2CD5 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057DA
Deuteranopia (green-blind)
#004BD2
Tritanopia (blue-blind)
#005F81
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4f2cd5; /* rgb */ color: rgb(79, 44, 213); /* oklch */ color: oklch(46.2% 0.236 281.4);
Tailwind
colors: {
custom: {
50: '#916be3',
500: '#4f2cd5',
950: '#000000',
},
}SCSS
$custom: #4f2cd5; $custom-light: #916be3; $custom-dark: #000000;
JSON
{
"hex": "#4f2cd5",
"rgb": {
"r": 79,
"g": 44,
"b": 213
},
"hsl": {
"h": 252.426,
"s": 66.798,
"l": 50.392
},
"oklch": {
"l": 0.4622,
"c": 0.23591,
"h": 281.4
},
"luminance": 0.08268
}Semantic roles & 50–950 ramp
primary
#4F2CD5
secondary
#C4D489
accent
#EA3EC6
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84