#4F2FE2#4F2FE2
#4F2FE2 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.248 H 279.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2FE2 |
|---|---|
| RGB | rgb(79, 47, 226) |
| HSL | hsl(251, 76%, 54%) |
| HSV | hsv(251, 79%, 89%) |
| CMYK | cmyk(65%, 79.2%, 0%, 11.4%) |
| CIE-LAB | lab(36.34, 61.35, -84.62) |
| CIE-LCH | lch(36.34, 104.52, 305.94°) |
| OKLab | oklab(47.87% 0.0415 -0.2443) |
| OKLCH | oklch(47.87% 0.248 279.6) |
| XYZ | xyz(17.9641, 9.1848, 72.7629) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 2.42
Blurple
#5539CC
ΔE00 3.02
Light Royal Blue
#3A2EFE
ΔE00 3.19
Burple
#6832E3
ΔE00 3.21
Purply Blue
#661AEE
ΔE00 3.54
Purplish Blue
#601EF9
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2FE2 #C2E22F
analogous
#2F68E2 #4F2FE2 #A82FE2
triadic
#4F2FE2 #E24F2F #2FE24F
tetradic
#4F2FE2 #E22F68 #C2E22F #2FE2A8
square
#4F2FE2 #E22F68 #C2E22F #2FE2A8
split-complementary
#4F2FE2 #E2A82F #68E22F
monochromatic
#271284 #371ABA #4F2FE2 #7C65E9 #AA9AF1
Accessibility & contrast
On white
7.40
#4F2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#4F2FE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2FE2
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2FE2 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CE7
Deuteranopia (green-blind)
#004EDF
Tritanopia (blue-blind)
#006689
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #4f2fe2; /* rgb */ color: rgb(79, 47, 226); /* oklch */ color: oklch(47.9% 0.248 279.6);
Tailwind
colors: {
custom: {
50: '#936ded',
500: '#4f2fe2',
950: '#000000',
},
}SCSS
$custom: #4f2fe2; $custom-light: #936ded; $custom-dark: #000000;
JSON
{
"hex": "#4f2fe2",
"rgb": {
"r": 79,
"g": 47,
"b": 226
},
"hsl": {
"h": 250.726,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.47871,
"c": 0.24782,
"h": 279.6
},
"luminance": 0.09186
}Semantic roles & 50–950 ramp
primary
#4F2FE2
secondary
#CFDD90
accent
#F236D0
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84