#4E2FB6#4E2FB6
#4E2FB6 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.198 H 285.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2FB6 |
|---|---|
| RGB | rgb(78, 47, 182) |
| HSL | hsl(254, 59%, 45%) |
| HSV | hsv(254, 74%, 71%) |
| CMYK | cmyk(57.1%, 74.2%, 0%, 28.6%) |
| CIE-LAB | lab(31.87, 48.59, -66.37) |
| CIE-LCH | lch(31.87, 82.25, 306.21°) |
| OKLab | oklab(43.42% 0.0519 -0.1911) |
| OKLCH | oklch(43.42% 0.198 285.2) |
| XYZ | xyz(12.5993, 7.0294, 44.9398) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 3.87
Blurple
#5539CC
ΔE00 4.00
Purple Blue
#5D21D0
ΔE00 4.27
Ocean Blue
#4F42B5
ΔE00 4.73
Indigo Blue
#3A18B1
ΔE00 4.92
Violet Blue
#510AC9
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2FB6 #97B62F
analogous
#2F53B6 #4E2FB6 #922FB6
triadic
#4E2FB6 #B64E2F #2FB64E
tetradic
#4E2FB6 #B62F53 #97B62F #2FB692
square
#4E2FB6 #B62F53 #97B62F #2FB692
split-complementary
#4E2FB6 #B6922F #53B62F
monochromatic
#241655 #392285 #4E2FB6 #6E50D2 #9681DE
Accessibility & contrast
On white
8.73
#4E2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#4E2FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2FB6
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2FB6 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#195470
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4e2fb6; /* rgb */ color: rgb(78, 47, 182); /* oklch */ color: oklch(43.4% 0.198 285.2);
Tailwind
colors: {
custom: {
50: '#8b6bcd',
500: '#4e2fb6',
950: '#000000',
},
}SCSS
$custom: #4e2fb6; $custom-light: #8b6bcd; $custom-dark: #000000;
JSON
{
"hex": "#4e2fb6",
"rgb": {
"r": 78,
"g": 47,
"b": 182
},
"hsl": {
"h": 253.778,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.43421,
"c": 0.19801,
"h": 285.2
},
"luminance": 0.0703
}Semantic roles & 50–950 ramp
primary
#4E2FB6
secondary
#B6C779
accent
#E246BE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82