#4E2E92#4E2E92
#4E2E92 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.155 H 292.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2E92 |
|---|---|
| RGB | rgb(78, 46, 146) |
| HSL | hsl(259, 52%, 38%) |
| HSV | hsv(259, 68%, 57%) |
| CMYK | cmyk(46.6%, 68.5%, 0%, 42.7%) |
| CIE-LAB | lab(28.51, 38.60, -50.12) |
| CIE-LCH | lch(28.51, 63.27, 307.60°) |
| OKLab | oklab(40.05% 0.06 -0.1434) |
| OKLCH | oklch(40.05% 0.155 292.7) |
| XYZ | xyz(9.3058, 5.6487, 27.7886) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.63
Darkslateblue
#483D8B
ΔE00 5.09
Blueberry
#464196
ΔE00 6.10
Indigo Blue
#3A18B1
ΔE00 6.73
Ocean Blue
#4F42B5
ΔE00 7.39
Indigo
#4B0082
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2E92 #72922E
analogous
#2E4092 #4E2E92 #802E92
triadic
#4E2E92 #924E2E #2E924E
tetradic
#4E2E92 #922E40 #72922E #2E9280
square
#4E2E92 #922E40 #72922E #2E9280
split-complementary
#4E2E92 #92802E #40922E
monochromatic
#1C1135 #351F63 #4E2E92 #673DC1 #8B6AD0
Accessibility & contrast
On white
9.86
#4E2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4E2E92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2E92
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2E92 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#3A465C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e2e92; /* rgb */ color: rgb(78, 46, 146); /* oklch */ color: oklch(40.1% 0.155 292.7);
Tailwind
colors: {
custom: {
50: '#8669b3',
500: '#4e2e92',
950: '#000000',
},
}SCSS
$custom: #4e2e92; $custom-light: #8669b3; $custom-dark: #000000;
JSON
{
"hex": "#4e2e92",
"rgb": {
"r": 78,
"g": 46,
"b": 146
},
"hsl": {
"h": 259.2,
"s": 52.083,
"l": 37.647
},
"oklch": {
"l": 0.4005,
"c": 0.15548,
"h": 292.7
},
"luminance": 0.05649
}Semantic roles & 50–950 ramp
primary
#4E2E92
secondary
#9DB765
accent
#DC4CAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80