#4E2D8F#4E2D8F
#4E2D8F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.153 H 293.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2D8F |
|---|---|
| RGB | rgb(78, 45, 143) |
| HSL | hsl(260, 52%, 37%) |
| HSV | hsv(260, 69%, 56%) |
| CMYK | cmyk(45.5%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(28.06, 38.30, -49.00) |
| CIE-LCH | lch(28.06, 62.19, 308.01°) |
| OKLab | oklab(39.65% 0.0615 -0.1401) |
| OKLCH | oklch(39.65% 0.153 293.7) |
| XYZ | xyz(9.0368, 5.4794, 26.5628) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.70
Darkslateblue
#483D8B
ΔE00 5.22
Blueberry
#464196
ΔE00 6.42
Indigo Blue
#3A18B1
ΔE00 6.99
Indigo
#4B0082
ΔE00 7.28
Ocean Blue
#4F42B5
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2D8F #6E8F2D
analogous
#2D3D8F #4E2D8F #7F2D8F
triadic
#4E2D8F #8F4E2D #2D8F4E
tetradic
#4E2D8F #8F2D3D #6E8F2D #2D8F7F
square
#4E2D8F #8F2D3D #6E8F2D #2D8F7F
split-complementary
#4E2D8F #8F7F2D #3D8F2D
monochromatic
#1B1032 #351E60 #4E2D8F #673CBE #8A67CF
Accessibility & contrast
On white
10.02
#4E2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4E2D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2D8F
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2D8F | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#3C455A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4e2d8f; /* rgb */ color: rgb(78, 45, 143); /* oklch */ color: oklch(39.7% 0.153 293.7);
Tailwind
colors: {
custom: {
50: '#8568b1',
500: '#4e2d8f',
950: '#000000',
},
}SCSS
$custom: #4e2d8f; $custom-light: #8568b1; $custom-dark: #000000;
JSON
{
"hex": "#4e2d8f",
"rgb": {
"r": 78,
"g": 45,
"b": 143
},
"hsl": {
"h": 260.204,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.39651,
"c": 0.15305,
"h": 293.7
},
"luminance": 0.0548
}Semantic roles & 50–950 ramp
primary
#4E2D8F
secondary
#9AB662
accent
#DC4CAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80