#4E2F8F#4E2F8F
#4E2F8F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.150 H 293.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2F8F |
|---|---|
| RGB | rgb(78, 47, 143) |
| HSL | hsl(259, 51%, 37%) |
| HSV | hsv(259, 67%, 56%) |
| CMYK | cmyk(45.5%, 67.1%, 0%, 43.9%) |
| CIE-LAB | lab(28.47, 37.17, -48.33) |
| CIE-LCH | lch(28.47, 60.97, 307.56°) |
| OKLab | oklab(39.95% 0.0593 -0.1382) |
| OKLCH | oklch(39.95% 0.15 293.2) |
| XYZ | xyz(9.1150, 5.6356, 26.5888) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.64
Darkslateblue
#483D8B
ΔE00 4.73
Blueberry
#464196
ΔE00 5.95
Indigo Blue
#3A18B1
ΔE00 7.28
Ocean Blue
#4F42B5
ΔE00 7.60
Indigo
#4B0082
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2F8F #708F2F
analogous
#2F408F #4E2F8F #7E2F8F
triadic
#4E2F8F #8F4E2F #2F8F4E
tetradic
#4E2F8F #8F2F40 #708F2F #2F8F7E
square
#4E2F8F #8F2F40 #708F2F #2F8F7E
split-complementary
#4E2F8F #8F7E2F #408F2F
monochromatic
#1C1133 #352061 #4E2F8F #673EBD #8B6ACE
Accessibility & contrast
On white
9.87
#4E2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4E2F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2F8F
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2F8F | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#3B465B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e2f8f; /* rgb */ color: rgb(78, 47, 143); /* oklch */ color: oklch(40.0% 0.150 293.2);
Tailwind
colors: {
custom: {
50: '#8569b1',
500: '#4e2f8f',
950: '#000000',
},
}SCSS
$custom: #4e2f8f; $custom-light: #8569b1; $custom-dark: #000000;
JSON
{
"hex": "#4e2f8f",
"rgb": {
"r": 78,
"g": 47,
"b": 143
},
"hsl": {
"h": 259.375,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.3995,
"c": 0.15036,
"h": 293.2
},
"luminance": 0.05636
}Semantic roles & 50–950 ramp
primary
#4E2F8F
secondary
#9BB565
accent
#DA4EAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80