#4F2BAE#4F2BAE
#4F2BAE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.193 H 287.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2BAE |
|---|---|
| RGB | rgb(79, 43, 174) |
| HSL | hsl(256, 60%, 43%) |
| HSV | hsv(256, 75%, 68%) |
| CMYK | cmyk(54.6%, 75.3%, 0%, 31.8%) |
| CIE-LAB | lab(30.51, 48.44, -63.84) |
| CIE-LCH | lch(30.51, 80.13, 307.19°) |
| OKLab | oklab(42.26% 0.0584 -0.1836) |
| OKLCH | oklch(42.26% 0.193 287.6) |
| XYZ | xyz(11.7260, 6.4454, 40.6624) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.22
Violet Blue
#510AC9
ΔE00 4.85
Purple Blue
#5D21D0
ΔE00 4.89
Blue With A Hint Of Purple
#533CC6
ΔE00 5.25
Blurple
#5539CC
ΔE00 5.38
Ocean Blue
#4F42B5
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2BAE #8AAE2B
analogous
#2B48AE #4F2BAE #912BAE
triadic
#4F2BAE #AE4F2B #2BAE4F
tetradic
#4F2BAE #AE2B48 #8AAE2B #2BAE91
square
#4F2BAE #AE2B48 #8AAE2B #2BAE91
split-complementary
#4F2BAE #AE912B #48AE2B
monochromatic
#22134C #391F7D #4F2BAE #6C45D1 #9376DD
Accessibility & contrast
On white
9.17
#4F2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#4F2BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2BAE
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2BAE | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#274F6B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4f2bae; /* rgb */ color: rgb(79, 43, 174); /* oklch */ color: oklch(42.3% 0.193 287.6);
Tailwind
colors: {
custom: {
50: '#8b68c7',
500: '#4f2bae',
950: '#000000',
},
}SCSS
$custom: #4f2bae; $custom-light: #8b68c7; $custom-dark: #000000;
JSON
{
"hex": "#4f2bae",
"rgb": {
"r": 79,
"g": 43,
"b": 174
},
"hsl": {
"h": 256.489,
"s": 60.369,
"l": 42.549
},
"oklch": {
"l": 0.42256,
"c": 0.19269,
"h": 287.6
},
"luminance": 0.06446
}Semantic roles & 50–950 ramp
primary
#4F2BAE
secondary
#AEC570
accent
#E444B8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82