#4F2ABB#4F2ABB
#4F2ABB is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.4% C 0.209 H 285.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2ABB |
|---|---|
| RGB | rgb(79, 42, 187) |
| HSL | hsl(255, 63%, 45%) |
| HSV | hsv(255, 78%, 73%) |
| CMYK | cmyk(57.8%, 77.5%, 0%, 26.7%) |
| CIE-LAB | lab(31.59, 52.61, -69.79) |
| CIE-LCH | lch(31.59, 87.40, 307.01°) |
| OKLab | oklab(43.39% 0.0556 -0.201) |
| OKLCH | oklch(43.39% 0.209 285.4) |
| XYZ | xyz(13.0193, 6.9053, 47.6509) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.37
Violet Blue
#510AC9
ΔE00 3.81
Blurple
#5539CC
ΔE00 4.19
Blue With A Hint Of Purple
#533CC6
ΔE00 4.34
Indigo Blue
#3A18B1
ΔE00 4.39
Ocean Blue
#4F42B5
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2ABB #96BB2A
analogous
#2A4EBB #4F2ABB #972ABB
triadic
#4F2ABB #BB4F2A #2ABB4F
tetradic
#4F2ABB #BB2A4E #96BB2A #2ABB97
square
#4F2ABB #BB2A4E #96BB2A #2ABB97
split-complementary
#4F2ABB #BB972A #4EBB2A
monochromatic
#251457 #3A1F89 #4F2ABB #6F4CD7 #977DE2
Accessibility & contrast
On white
8.82
#4F2ABB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#4F2ABB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2ABB
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2ABB | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#155472
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4f2abb; /* rgb */ color: rgb(79, 42, 187); /* oklch */ color: oklch(43.4% 0.209 285.4);
Tailwind
colors: {
custom: {
50: '#8d69d1',
500: '#4f2abb',
950: '#000000',
},
}SCSS
$custom: #4f2abb; $custom-light: #8d69d1; $custom-dark: #000000;
JSON
{
"hex": "#4f2abb",
"rgb": {
"r": 79,
"g": 42,
"b": 187
},
"hsl": {
"h": 255.31,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.43391,
"c": 0.20858,
"h": 285.4
},
"luminance": 0.06906
}Semantic roles & 50–950 ramp
primary
#4F2ABB
secondary
#B5CA76
accent
#E641BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83