#4E2F93#4E2F93
#4E2F93 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.155 H 292.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2F93 |
|---|---|
| RGB | rgb(78, 47, 147) |
| HSL | hsl(259, 52%, 38%) |
| HSV | hsv(259, 68%, 58%) |
| CMYK | cmyk(46.9%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(28.80, 38.33, -50.27) |
| CIE-LCH | lch(28.80, 63.22, 307.32°) |
| OKLab | oklab(40.28% 0.0588 -0.1439) |
| OKLCH | oklch(40.28% 0.155 292.2) |
| XYZ | xyz(9.4234, 5.7590, 28.2132) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.60
Darkslateblue
#483D8B
ΔE00 4.89
Blueberry
#464196
ΔE00 5.85
Indigo Blue
#3A18B1
ΔE00 6.76
Ocean Blue
#4F42B5
ΔE00 7.11
Indigo
#4B0082
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2F93 #74932F
analogous
#2F4293 #4E2F93 #802F93
triadic
#4E2F93 #934E2F #2F934E
tetradic
#4E2F93 #932F42 #74932F #2F9380
square
#4E2F93 #932F42 #74932F #2F9380
split-complementary
#4E2F93 #93802F #42932F
monochromatic
#1D1136 #352065 #4E2F93 #673EC1 #8B6CD0
Accessibility & contrast
On white
9.76
#4E2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4E2F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2F93
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2F93 | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#39475D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e2f93; /* rgb */ color: rgb(78, 47, 147); /* oklch */ color: oklch(40.3% 0.155 292.2);
Tailwind
colors: {
custom: {
50: '#866ab3',
500: '#4e2f93',
950: '#000000',
},
}SCSS
$custom: #4e2f93; $custom-light: #866ab3; $custom-dark: #000000;
JSON
{
"hex": "#4e2f93",
"rgb": {
"r": 78,
"g": 47,
"b": 147
},
"hsl": {
"h": 258.6,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.40283,
"c": 0.15542,
"h": 292.2
},
"luminance": 0.05759
}Semantic roles & 50–950 ramp
primary
#4E2F93
secondary
#9EB766
accent
#DB4DAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80