#4E2E8D#4E2E8D
#4E2E8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.149 H 294.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2E8D |
|---|---|
| RGB | rgb(78, 46, 141) |
| HSL | hsl(260, 51%, 37%) |
| HSV | hsv(260, 67%, 55%) |
| CMYK | cmyk(44.7%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(28.10, 37.16, -47.69) |
| CIE-LCH | lch(28.10, 60.46, 307.92°) |
| OKLab | oklab(39.63% 0.0607 -0.1363) |
| OKLCH | oklch(39.63% 0.149 294) |
| XYZ | xyz(8.9253, 5.4965, 25.7848) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.71
Darkslateblue
#483D8B
ΔE00 4.93
Blueberry
#464196
ΔE00 6.26
Indigo Blue
#3A18B1
ΔE00 7.41
Indigo
#4B0082
ΔE00 7.49
Ocean Blue
#4F42B5
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2E8D #6D8D2E
analogous
#2E3D8D #4E2E8D #7E2E8D
triadic
#4E2E8D #8D4E2E #2E8D4E
tetradic
#4E2E8D #8D2E3D #6D8D2E #2E8D7E
square
#4E2E8D #8D2E3D #6D8D2E #2E8D7E
split-complementary
#4E2E8D #8D7E2E #3D8D2E
monochromatic
#1B1031 #341F5F #4E2E8D #683DBB #8A68CE
Accessibility & contrast
On white
10.00
#4E2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4E2E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2E8D
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2E8D | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#3D4559
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4e2e8d; /* rgb */ color: rgb(78, 46, 141); /* oklch */ color: oklch(39.6% 0.149 294.0);
Tailwind
colors: {
custom: {
50: '#8569af',
500: '#4e2e8d',
950: '#000000',
},
}SCSS
$custom: #4e2e8d; $custom-light: #8569af; $custom-dark: #000000;
JSON
{
"hex": "#4e2e8d",
"rgb": {
"r": 78,
"g": 46,
"b": 141
},
"hsl": {
"h": 260.211,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.39634,
"c": 0.14919,
"h": 294
},
"luminance": 0.05497
}Semantic roles & 50–950 ramp
primary
#4E2E8D
secondary
#99B562
accent
#DA4EAB
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F