#4F2BB5#4F2BB5
#4F2BB5 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.9% C 0.201 H 286.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2BB5 |
|---|---|
| RGB | rgb(79, 43, 181) |
| HSL | hsl(256, 62%, 44%) |
| HSV | hsv(256, 76%, 71%) |
| CMYK | cmyk(56.4%, 76.2%, 0%, 29%) |
| CIE-LAB | lab(31.17, 50.43, -66.92) |
| CIE-LCH | lch(31.17, 83.80, 307.00°) |
| OKLab | oklab(42.92% 0.0566 -0.1927) |
| OKLCH | oklch(42.92% 0.201 286.4) |
| XYZ | xyz(12.4263, 6.7255, 44.3505) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.06
Indigo Blue
#3A18B1
ΔE00 4.29
Violet Blue
#510AC9
ΔE00 4.30
Blue With A Hint Of Purple
#533CC6
ΔE00 4.62
Blurple
#5539CC
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2BB5 #91B52B
analogous
#2B4CB5 #4F2BB5 #942BB5
triadic
#4F2BB5 #B54F2B #2BB54F
tetradic
#4F2BB5 #B52B4C #91B52B #2BB594
square
#4F2BB5 #B52B4C #91B52B #2BB594
split-complementary
#4F2BB5 #B5942B #4CB52B
monochromatic
#241452 #391F84 #4F2BB5 #6D49D4 #957BE0
Accessibility & contrast
On white
8.95
#4F2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#4F2BB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2BB5
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2BB5 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#1F526F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4f2bb5; /* rgb */ color: rgb(79, 43, 181); /* oklch */ color: oklch(42.9% 0.201 286.4);
Tailwind
colors: {
custom: {
50: '#8c69cc',
500: '#4f2bb5',
950: '#000000',
},
}SCSS
$custom: #4f2bb5; $custom-light: #8c69cc; $custom-dark: #000000;
JSON
{
"hex": "#4f2bb5",
"rgb": {
"r": 79,
"g": 43,
"b": 181
},
"hsl": {
"h": 255.652,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.42924,
"c": 0.20079,
"h": 286.4
},
"luminance": 0.06726
}Semantic roles & 50–950 ramp
primary
#4F2BB5
secondary
#B2C874
accent
#E543BB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82