#4E29B6#4E29B6
#4E29B6 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.7% C 0.204 H 286.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4E29B6 |
|---|---|
| RGB | rgb(78, 41, 182) |
| HSL | hsl(256, 63%, 44%) |
| HSV | hsv(256, 77%, 71%) |
| CMYK | cmyk(57.1%, 77.5%, 0%, 28.6%) |
| CIE-LAB | lab(30.84, 51.54, -68.07) |
| CIE-LCH | lch(30.84, 85.39, 307.13°) |
| OKLab | oklab(42.69% 0.0562 -0.196) |
| OKLCH | oklch(42.69% 0.204 286) |
| XYZ | xyz(12.3758, 6.5823, 44.8653) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.94
Violet Blue
#510AC9
ΔE00 3.94
Purple Blue
#5D21D0
ΔE00 3.96
Blurple
#5539CC
ΔE00 4.83
Blue With A Hint Of Purple
#533CC6
ΔE00 4.89
Ocean Blue
#4F42B5
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E29B6 #91B629
analogous
#294AB6 #4E29B6 #9429B6
triadic
#4E29B6 #B64E29 #29B64E
tetradic
#4E29B6 #B6294A #91B629 #29B694
square
#4E29B6 #B6294A #91B629 #29B694
split-complementary
#4E29B6 #B69429 #4AB629
monochromatic
#231252 #391E84 #4E29B6 #6C47D5 #9479E1
Accessibility & contrast
On white
9.07
#4E29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#4E29B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E29B6
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E29B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E29B6 | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#1A526F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4e29b6; /* rgb */ color: rgb(78, 41, 182); /* oklch */ color: oklch(42.7% 0.204 286.0);
Tailwind
colors: {
custom: {
50: '#8c68cd',
500: '#4e29b6',
950: '#000000',
},
}SCSS
$custom: #4e29b6; $custom-light: #8c68cd; $custom-dark: #000000;
JSON
{
"hex": "#4e29b6",
"rgb": {
"r": 78,
"g": 41,
"b": 182
},
"hsl": {
"h": 255.745,
"s": 63.229,
"l": 43.725
},
"oklch": {
"l": 0.42693,
"c": 0.20393,
"h": 286
},
"luminance": 0.06583
}Semantic roles & 50–950 ramp
primary
#4E29B6
secondary
#B2C972
accent
#E642BB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82