#4F2AB3#4F2AB3
#4F2AB3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.199 H 286.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2AB3 |
|---|---|
| RGB | rgb(79, 42, 179) |
| HSL | hsl(256, 62%, 43%) |
| HSV | hsv(256, 77%, 70%) |
| CMYK | cmyk(55.9%, 76.5%, 0%, 29.8%) |
| CIE-LAB | lab(30.81, 50.35, -66.32) |
| CIE-LCH | lch(30.81, 83.27, 307.20°) |
| OKLab | oklab(42.61% 0.0578 -0.1909) |
| OKLCH | oklch(42.61% 0.199 286.9) |
| XYZ | xyz(12.1867, 6.5722, 43.2655) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.09
Purple Blue
#5D21D0
ΔE00 4.26
Violet Blue
#510AC9
ΔE00 4.29
Blue With A Hint Of Purple
#533CC6
ΔE00 4.95
Blurple
#5539CC
ΔE00 4.97
Ocean Blue
#4F42B5
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2AB3 #8EB32A
analogous
#2A4AB3 #4F2AB3 #932AB3
triadic
#4F2AB3 #B34F2A #2AB34F
tetradic
#4F2AB3 #B32A4A #8EB32A #2AB393
square
#4F2AB3 #B32A4A #8EB32A #2AB393
split-complementary
#4F2AB3 #B3932A #4AB32A
monochromatic
#231350 #391E81 #4F2AB3 #6D46D4 #9478DF
Accessibility & contrast
On white
9.07
#4F2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#4F2AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2AB3
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2AB3 | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#22516D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4f2ab3; /* rgb */ color: rgb(79, 42, 179); /* oklch */ color: oklch(42.6% 0.199 286.9);
Tailwind
colors: {
custom: {
50: '#8c68cb',
500: '#4f2ab3',
950: '#000000',
},
}SCSS
$custom: #4f2ab3; $custom-light: #8c68cb; $custom-dark: #000000;
JSON
{
"hex": "#4f2ab3",
"rgb": {
"r": 79,
"g": 42,
"b": 179
},
"hsl": {
"h": 256.204,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.42613,
"c": 0.19946,
"h": 286.9
},
"luminance": 0.06573
}Semantic roles & 50–950 ramp
primary
#4F2AB3
secondary
#B0C772
accent
#E543B9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82