#4E2E93#4E2E93
#4E2E93 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.157 H 292.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2E93 |
|---|---|
| RGB | rgb(78, 46, 147) |
| HSL | hsl(259, 52%, 38%) |
| HSV | hsv(259, 69%, 58%) |
| CMYK | cmyk(46.9%, 68.7%, 0%, 42.4%) |
| CIE-LAB | lab(28.59, 38.89, -50.61) |
| CIE-LCH | lch(28.59, 63.82, 307.54°) |
| OKLab | oklab(40.14% 0.0598 -0.1449) |
| OKLCH | oklch(40.14% 0.157 292.4) |
| XYZ | xyz(9.3839, 5.6800, 28.2000) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.63
Darkslateblue
#483D8B
ΔE00 5.13
Blueberry
#464196
ΔE00 6.09
Indigo Blue
#3A18B1
ΔE00 6.60
Ocean Blue
#4F42B5
ΔE00 7.27
Indigo
#4B0082
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2E93 #73932E
analogous
#2E4093 #4E2E93 #802E93
triadic
#4E2E93 #934E2E #2E934E
tetradic
#4E2E93 #932E40 #73932E #2E9380
square
#4E2E93 #932E40 #73932E #2E9380
split-complementary
#4E2E93 #93802E #40932E
monochromatic
#1D1136 #351F64 #4E2E93 #673DC2 #8B6BD1
Accessibility & contrast
On white
9.83
#4E2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4E2E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2E93
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2E93 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#39475C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e2e93; /* rgb */ color: rgb(78, 46, 147); /* oklch */ color: oklch(40.1% 0.157 292.4);
Tailwind
colors: {
custom: {
50: '#8669b3',
500: '#4e2e93',
950: '#000000',
},
}SCSS
$custom: #4e2e93; $custom-light: #8669b3; $custom-dark: #000000;
JSON
{
"hex": "#4e2e93",
"rgb": {
"r": 78,
"g": 46,
"b": 147
},
"hsl": {
"h": 259.01,
"s": 52.332,
"l": 37.843
},
"oklch": {
"l": 0.40135,
"c": 0.15673,
"h": 292.4
},
"luminance": 0.0568
}Semantic roles & 50–950 ramp
primary
#4E2E93
secondary
#9EB865
accent
#DC4CAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80