#4E2E8E#4E2E8E
#4E2E8E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.150 H 293.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2E8E |
|---|---|
| RGB | rgb(78, 46, 142) |
| HSL | hsl(260, 51%, 37%) |
| HSV | hsv(260, 68%, 56%) |
| CMYK | cmyk(45.1%, 67.6%, 0%, 44.3%) |
| CIE-LAB | lab(28.18, 37.45, -48.18) |
| CIE-LCH | lch(28.18, 61.02, 307.85°) |
| OKLab | oklab(39.72% 0.0605 -0.1377) |
| OKLCH | oklch(39.72% 0.15 293.7) |
| XYZ | xyz(9.0000, 5.5264, 26.1785) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.68
Darkslateblue
#483D8B
ΔE00 4.95
Blueberry
#464196
ΔE00 6.22
Indigo Blue
#3A18B1
ΔE00 7.27
Indigo
#4B0082
ΔE00 7.50
Ocean Blue
#4F42B5
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2E8E #6E8E2E
analogous
#2E3E8E #4E2E8E #7E2E8E
triadic
#4E2E8E #8E4E2E #2E8E4E
tetradic
#4E2E8E #8E2E3E #6E8E2E #2E8E7E
square
#4E2E8E #8E2E3E #6E8E2E #2E8E7E
split-complementary
#4E2E8E #8E7E2E #3E8E2E
monochromatic
#1B1032 #351F60 #4E2E8E #673DBC #8A68CE
Accessibility & contrast
On white
9.97
#4E2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4E2E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2E8E
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2E8E | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#3C455A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4e2e8e; /* rgb */ color: rgb(78, 46, 142); /* oklch */ color: oklch(39.7% 0.150 293.7);
Tailwind
colors: {
custom: {
50: '#8569b0',
500: '#4e2e8e',
950: '#000000',
},
}SCSS
$custom: #4e2e8e; $custom-light: #8569b0; $custom-dark: #000000;
JSON
{
"hex": "#4e2e8e",
"rgb": {
"r": 78,
"g": 46,
"b": 142
},
"hsl": {
"h": 260,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.39716,
"c": 0.15046,
"h": 293.7
},
"luminance": 0.05527
}Semantic roles & 50–950 ramp
primary
#4E2E8E
secondary
#9AB563
accent
#DB4DAB
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F