#4F2FC2#4F2FC2
#4F2FC2 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.212 H 283.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2FC2 |
|---|---|
| RGB | rgb(79, 47, 194) |
| HSL | hsl(253, 61%, 47%) |
| HSV | hsv(253, 76%, 76%) |
| CMYK | cmyk(59.3%, 75.8%, 0%, 23.9%) |
| CIE-LAB | lab(33.11, 52.21, -71.41) |
| CIE-LCH | lch(33.11, 88.46, 306.17°) |
| OKLab | oklab(44.66% 0.0503 -0.2058) |
| OKLCH | oklch(44.66% 0.212 283.7) |
| XYZ | xyz(13.9756, 7.5894, 51.7569) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.80
Blue With A Hint Of Purple
#533CC6
ΔE00 3.03
Purple Blue
#5D21D0
ΔE00 3.14
Violet Blue
#510AC9
ΔE00 4.57
Ocean Blue
#4F42B5
ΔE00 4.86
Bluey Purple
#6241C7
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2FC2 #A2C22F
analogous
#2F59C2 #4F2FC2 #982FC2
triadic
#4F2FC2 #C24F2F #2FC24F
tetradic
#4F2FC2 #C22F59 #A2C22F #2FC298
square
#4F2FC2 #C22F59 #A2C22F #2FC298
split-complementary
#4F2FC2 #C2982F #59C22F
monochromatic
#27175F #3B2391 #4F2FC2 #7358D6 #9C89E2
Accessibility & contrast
On white
8.34
#4F2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#4F2FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2FC2
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2FC2 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4f2fc2; /* rgb */ color: rgb(79, 47, 194); /* oklch */ color: oklch(44.7% 0.212 283.7);
Tailwind
colors: {
custom: {
50: '#8e6cd6',
500: '#4f2fc2',
950: '#000000',
},
}SCSS
$custom: #4f2fc2; $custom-light: #8e6cd6; $custom-dark: #000000;
JSON
{
"hex": "#4f2fc2",
"rgb": {
"r": 79,
"g": 47,
"b": 194
},
"hsl": {
"h": 253.061,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.44662,
"c": 0.21187,
"h": 283.7
},
"luminance": 0.0759
}Semantic roles & 50–950 ramp
primary
#4F2FC2
secondary
#BCCC81
accent
#E444C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83