#4E2B76#4E2B76
#4E2B76 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.4% C 0.124 H 302.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2B76 |
|---|---|
| RGB | rgb(78, 43, 118) |
| HSL | hsl(268, 47%, 32%) |
| HSV | hsv(268, 64%, 46%) |
| CMYK | cmyk(33.9%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(25.73, 32.42, -37.10) |
| CIE-LCH | lch(25.73, 49.28, 311.15°) |
| OKLab | oklab(37.36% 0.0663 -0.1052) |
| OKLCH | oklch(37.36% 0.124 302.2) |
| XYZ | xyz(7.2750, 4.6554, 17.6513) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.82
Rebeccapurple
#663399
ΔE00 6.84
Royal Purple (survey)
#4B006E
ΔE00 7.38
Indigo
#4B0082
ΔE00 7.65
Indigo (survey)
#380282
ΔE00 8.94
Blueberry
#464196
ΔE00 8.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2B76 #53762B
analogous
#2B2E76 #4E2B76 #742B76
triadic
#4E2B76 #764E2B #2B764E
tetradic
#4E2B76 #762B2E #53762B #2B7674
square
#4E2B76 #762B2E #53762B #2B7674
split-complementary
#4E2B76 #76742B #2E762B
monochromatic
#130A1C #301B49 #4E2B76 #6C3BA3 #8A59C2
Accessibility & contrast
On white
10.88
#4E2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#4E2B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2B76
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2B76 | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#153D74
Tritanopia (blue-blind)
#463B4C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4e2b76; /* rgb */ color: rgb(78, 43, 118); /* oklch */ color: oklch(37.4% 0.124 302.2);
Tailwind
colors: {
custom: {
50: '#83669e',
500: '#4e2b76',
950: '#000000',
},
}SCSS
$custom: #4e2b76; $custom-light: #83669e; $custom-dark: #000000;
JSON
{
"hex": "#4e2b76",
"rgb": {
"r": 78,
"g": 43,
"b": 118
},
"hsl": {
"h": 268,
"s": 46.584,
"l": 31.569
},
"oklch": {
"l": 0.37364,
"c": 0.12433,
"h": 302.2
},
"luminance": 0.04655
}Semantic roles & 50–950 ramp
primary
#4E2B76
secondary
#81A855
accent
#D65298
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E