#4E2E94#4E2E94
#4E2E94 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.158 H 292.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2E94 |
|---|---|
| RGB | rgb(78, 46, 148) |
| HSL | hsl(259, 53%, 38%) |
| HSV | hsv(259, 69%, 58%) |
| CMYK | cmyk(47.3%, 68.9%, 0%, 42%) |
| CIE-LAB | lab(28.67, 39.18, -51.09) |
| CIE-LCH | lch(28.67, 64.38, 307.49°) |
| OKLab | oklab(40.22% 0.0597 -0.1463) |
| OKLCH | oklch(40.22% 0.158 292.2) |
| XYZ | xyz(9.4627, 5.7115, 28.6151) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.64
Darkslateblue
#483D8B
ΔE00 5.18
Blueberry
#464196
ΔE00 6.07
Indigo Blue
#3A18B1
ΔE00 6.48
Ocean Blue
#4F42B5
ΔE00 7.15
Indigo
#4B0082
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2E94 #74942E
analogous
#2E4194 #4E2E94 #812E94
triadic
#4E2E94 #944E2E #2E944E
tetradic
#4E2E94 #942E41 #74942E #2E9481
square
#4E2E94 #942E41 #74942E #2E9481
split-complementary
#4E2E94 #94812E #41942E
monochromatic
#1D1137 #351F65 #4E2E94 #673DC3 #8B6BD1
Accessibility & contrast
On white
9.80
#4E2E94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4E2E94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2E94
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2E94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2E94 | 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)
#004597
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#39475D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e2e94; /* rgb */ color: rgb(78, 46, 148); /* oklch */ color: oklch(40.2% 0.158 292.2);
Tailwind
colors: {
custom: {
50: '#8669b4',
500: '#4e2e94',
950: '#000000',
},
}SCSS
$custom: #4e2e94; $custom-light: #8669b4; $custom-dark: #000000;
JSON
{
"hex": "#4e2e94",
"rgb": {
"r": 78,
"g": 46,
"b": 148
},
"hsl": {
"h": 258.824,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.40219,
"c": 0.15798,
"h": 292.2
},
"luminance": 0.05712
}Semantic roles & 50–950 ramp
primary
#4E2E94
secondary
#9EB866
accent
#DC4CAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80