#4E3F81#4E3F81
#4E3F81 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.7% C 0.107 H 291.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4E3F81 |
|---|---|
| RGB | rgb(78, 63, 129) |
| HSL | hsl(254, 34%, 38%) |
| HSV | hsv(254, 51%, 51%) |
| CMYK | cmyk(39.5%, 51.2%, 0%, 49.4%) |
| CIE-LAB | lab(31.25, 23.21, -35.18) |
| CIE-LCH | lch(31.25, 42.14, 303.42°) |
| OKLab | oklab(41.68% 0.0393 -0.0995) |
| OKLCH | oklch(41.68% 0.107 291.5) |
| XYZ | xyz(8.8808, 6.7595, 21.6014) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.87
Blueberry
#464196
ΔE00 4.81
Twilight
#4E518B
ΔE00 6.40
Rebeccapurple
#663399
ΔE00 7.64
Dusk
#4E5481
ΔE00 8.02
Ocean Blue
#4F42B5
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E3F81 #72813F
analogous
#3F5181 #4E3F81 #6F3F81
triadic
#4E3F81 #814E3F #3F814E
tetradic
#4E3F81 #813F51 #72813F #3F816F
square
#4E3F81 #813F51 #72813F #3F816F
split-complementary
#4E3F81 #816F3F #51813F
monochromatic
#1C172F #352B58 #4E3F81 #6753AA #8B7CBF
Accessibility & contrast
On white
8.93
#4E3F81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#4E3F81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E3F81
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E3F81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E3F81 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264B83
Deuteranopia (green-blind)
#27487F
Tritanopia (blue-blind)
#414C5A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4e3f81; /* rgb */ color: rgb(78, 63, 129); /* oklch */ color: oklch(41.7% 0.107 291.5);
Tailwind
colors: {
custom: {
50: '#8274a6',
500: '#4e3f81',
950: '#000000',
},
}SCSS
$custom: #4e3f81; $custom-light: #8274a6; $custom-dark: #000000;
JSON
{
"hex": "#4e3f81",
"rgb": {
"r": 78,
"g": 63,
"b": 129
},
"hsl": {
"h": 253.636,
"s": 34.375,
"l": 37.647
},
"oklch": {
"l": 0.41678,
"c": 0.10697,
"h": 291.5
},
"luminance": 0.0676
}Semantic roles & 50–950 ramp
primary
#4E3F81
secondary
#9DA973
accent
#CA5DB2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F