#4F2AC2#4F2AC2
#4F2AC2 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.216 H 284.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2AC2 |
|---|---|
| RGB | rgb(79, 42, 194) |
| HSL | hsl(255, 64%, 46%) |
| HSV | hsv(255, 78%, 76%) |
| CMYK | cmyk(59.3%, 78.4%, 0%, 23.9%) |
| CIE-LAB | lab(32.29, 54.59, -72.77) |
| CIE-LCH | lch(32.29, 90.97, 306.87°) |
| OKLab | oklab(44.08% 0.0535 -0.2097) |
| OKLCH | oklch(44.08% 0.216 284.3) |
| XYZ | xyz(13.7870, 7.2123, 51.6941) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.72
Blurple
#5539CC
ΔE00 3.63
Violet Blue
#510AC9
ΔE00 3.64
Blue With A Hint Of Purple
#533CC6
ΔE00 3.96
Indigo Blue
#3A18B1
ΔE00 4.86
Blue Violet
#5D06E9
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2AC2 #9DC22A
analogous
#2A51C2 #4F2AC2 #9B2AC2
triadic
#4F2AC2 #C24F2A #2AC24F
tetradic
#4F2AC2 #C22A51 #9DC22A #2AC29B
square
#4F2AC2 #C22A51 #9DC22A #2AC29B
split-complementary
#4F2AC2 #C29B2A #51C22A
monochromatic
#26145D #3B1F90 #4F2AC2 #7150D9 #9A82E4
Accessibility & contrast
On white
8.60
#4F2AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#4F2AC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2AC2
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2AC2 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4f2ac2; /* rgb */ color: rgb(79, 42, 194); /* oklch */ color: oklch(44.1% 0.216 284.3);
Tailwind
colors: {
custom: {
50: '#8e69d6',
500: '#4f2ac2',
950: '#000000',
},
}SCSS
$custom: #4f2ac2; $custom-light: #8e69d6; $custom-dark: #000000;
JSON
{
"hex": "#4f2ac2",
"rgb": {
"r": 79,
"g": 42,
"b": 194
},
"hsl": {
"h": 254.605,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.44084,
"c": 0.21646,
"h": 284.3
},
"luminance": 0.07213
}Semantic roles & 50–950 ramp
primary
#4F2AC2
secondary
#B9CD7B
accent
#E740BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83