#4E2F92#4E2F92
#4E2F92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.154 H 292.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2F92 |
|---|---|
| RGB | rgb(78, 47, 146) |
| HSL | hsl(259, 51%, 38%) |
| HSV | hsv(259, 68%, 57%) |
| CMYK | cmyk(46.6%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(28.72, 38.04, -49.79) |
| CIE-LCH | lch(28.72, 62.65, 307.38°) |
| OKLab | oklab(40.2% 0.0589 -0.1425) |
| OKLCH | oklch(40.2% 0.154 292.5) |
| XYZ | xyz(9.3453, 5.7278, 27.8017) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.61
Darkslateblue
#483D8B
ΔE00 4.84
Blueberry
#464196
ΔE00 5.86
Indigo Blue
#3A18B1
ΔE00 6.88
Ocean Blue
#4F42B5
ΔE00 7.23
Indigo
#4B0082
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2F92 #73922F
analogous
#2F4192 #4E2F92 #7F2F92
triadic
#4E2F92 #924E2F #2F924E
tetradic
#4E2F92 #922F41 #73922F #2F927F
square
#4E2F92 #922F41 #73922F #2F927F
split-complementary
#4E2F92 #927F2F #41922F
monochromatic
#1D1135 #352064 #4E2F92 #673EC0 #8B6CD0
Accessibility & contrast
On white
9.79
#4E2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4E2F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2F92
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2F92 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#3A475C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e2f92; /* rgb */ color: rgb(78, 47, 146); /* oklch */ color: oklch(40.2% 0.154 292.5);
Tailwind
colors: {
custom: {
50: '#866ab3',
500: '#4e2f92',
950: '#000000',
},
}SCSS
$custom: #4e2f92; $custom-light: #866ab3; $custom-dark: #000000;
JSON
{
"hex": "#4e2f92",
"rgb": {
"r": 78,
"g": 47,
"b": 146
},
"hsl": {
"h": 258.788,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.40199,
"c": 0.15416,
"h": 292.5
},
"luminance": 0.05728
}Semantic roles & 50–950 ramp
primary
#4E2F92
secondary
#9EB766
accent
#DB4DAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80