#4F2FE0#4F2FE0
#4F2FE0 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.246 H 279.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2FE0 |
|---|---|
| RGB | rgb(79, 47, 224) |
| HSL | hsl(251, 74%, 53%) |
| HSV | hsv(251, 79%, 88%) |
| CMYK | cmyk(64.7%, 79%, 0%, 12.2%) |
| CIE-LAB | lab(36.13, 60.78, -83.82) |
| CIE-LCH | lch(36.13, 103.54, 305.95°) |
| OKLab | oklab(47.67% 0.0421 -0.242) |
| OKLCH | oklch(47.67% 0.246 279.9) |
| XYZ | xyz(17.6912, 9.0757, 71.3261) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 2.57
Blurple
#5539CC
ΔE00 2.86
Burple
#6832E3
ΔE00 3.30
Light Royal Blue
#3A2EFE
ΔE00 3.41
Purple Blue
#5D21D0
ΔE00 3.47
Purply Blue
#661AEE
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2FE0 #C0E02F
analogous
#2F68E0 #4F2FE0 #A72FE0
triadic
#4F2FE0 #E04F2F #2FE04F
tetradic
#4F2FE0 #E02F68 #C0E02F #2FE0A7
square
#4F2FE0 #E02F68 #C0E02F #2FE0A7
split-complementary
#4F2FE0 #E0A72F #68E02F
monochromatic
#271381 #371BB7 #4F2FE0 #7C64E8 #A99AF0
Accessibility & contrast
On white
7.46
#4F2FE0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#4F2FE0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2FE0
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2FE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2FE0 | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BE5
Deuteranopia (green-blind)
#004EDD
Tritanopia (blue-blind)
#006588
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #4f2fe0; /* rgb */ color: rgb(79, 47, 224); /* oklch */ color: oklch(47.7% 0.246 279.9);
Tailwind
colors: {
custom: {
50: '#936deb',
500: '#4f2fe0',
950: '#000000',
},
}SCSS
$custom: #4f2fe0; $custom-light: #936deb; $custom-dark: #000000;
JSON
{
"hex": "#4f2fe0",
"rgb": {
"r": 79,
"g": 47,
"b": 224
},
"hsl": {
"h": 250.847,
"s": 74.059,
"l": 53.137
},
"oklch": {
"l": 0.47665,
"c": 0.24562,
"h": 279.9
},
"luminance": 0.09077
}Semantic roles & 50–950 ramp
primary
#4F2FE0
secondary
#CEDC8F
accent
#F137CF
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84