#4E299F#4E299F
#4E299F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.177 H 290.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4E299F |
|---|---|
| RGB | rgb(78, 41, 159) |
| HSL | hsl(259, 59%, 39%) |
| HSV | hsv(259, 74%, 62%) |
| CMYK | cmyk(50.9%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.66, 45.02, -57.82) |
| CIE-LCH | lch(28.66, 73.28, 307.90°) |
| OKLab | oklab(40.51% 0.0623 -0.166) |
| OKLCH | oklch(40.51% 0.177 290.6) |
| XYZ | xyz(10.1910, 5.7084, 33.3590) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.59
Rebeccapurple
#663399
ΔE00 5.27
Violet Blue
#510AC9
ΔE00 6.27
Purple Blue
#5D21D0
ΔE00 6.87
Darkslateblue
#483D8B
ΔE00 6.90
Ocean Blue
#4F42B5
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E299F #7A9F29
analogous
#293F9F #4E299F #89299F
triadic
#4E299F #9F4E29 #299F4E
tetradic
#4E299F #9F293F #7A9F29 #299F89
square
#4E299F #9F293F #7A9F29 #299F89
split-complementary
#4E299F #9F8929 #3F9F29
monochromatic
#1E103E #361C6E #4E299F #6739CC #8D6AD9
Accessibility & contrast
On white
9.80
#4E299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4E299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E299F
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E299F | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#324962
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e299f; /* rgb */ color: rgb(78, 41, 159); /* oklch */ color: oklch(40.5% 0.177 290.6);
Tailwind
colors: {
custom: {
50: '#8866bc',
500: '#4e299f',
950: '#000000',
},
}SCSS
$custom: #4e299f; $custom-light: #8866bc; $custom-dark: #000000;
JSON
{
"hex": "#4e299f",
"rgb": {
"r": 78,
"g": 41,
"b": 159
},
"hsl": {
"h": 258.814,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.40508,
"c": 0.17732,
"h": 290.6
},
"luminance": 0.05709
}Semantic roles & 50–950 ramp
primary
#4E299F
secondary
#A3BF65
accent
#E246B1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81