#4E369F#4E369F
#4E369F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.4% C 0.162 H 288.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4E369F |
|---|---|
| RGB | rgb(78, 54, 159) |
| HSL | hsl(254, 49%, 42%) |
| HSV | hsv(254, 66%, 62%) |
| CMYK | cmyk(50.9%, 66%, 0%, 37.6%) |
| CIE-LAB | lab(31.26, 37.87, -53.59) |
| CIE-LCH | lch(31.26, 65.62, 305.25°) |
| OKLab | oklab(42.36% 0.0499 -0.1536) |
| OKLCH | oklch(42.36% 0.162 288) |
| XYZ | xyz(10.7172, 6.7608, 33.5344) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 4.33
Darkslateblue
#483D8B
ΔE00 4.47
Ocean Blue
#4F42B5
ΔE00 4.55
Rebeccapurple
#663399
ΔE00 5.12
Blue With A Hint Of Purple
#533CC6
ΔE00 5.86
Sapphire (survey)
#2138AB
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E369F #879F36
analogous
#36539F #4E369F #83369F
triadic
#4E369F #9F4E36 #369F4E
tetradic
#4E369F #9F3653 #879F36 #369F83
square
#4E369F #9F3653 #879F36 #369F83
split-complementary
#4E369F #9F8336 #539F36
monochromatic
#211744 #382671 #4E369F #6A4FC3 #907DD3
Accessibility & contrast
On white
8.93
#4E369F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#4E369F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E369F
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E369F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E369F | 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)
#004CA2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#315065
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4e369f; /* rgb */ color: rgb(78, 54, 159); /* oklch */ color: oklch(42.4% 0.162 288.0);
Tailwind
colors: {
custom: {
50: '#876ebc',
500: '#4e369f',
950: '#000000',
},
}SCSS
$custom: #4e369f; $custom-light: #876ebc; $custom-dark: #000000;
JSON
{
"hex": "#4e369f",
"rgb": {
"r": 78,
"g": 54,
"b": 159
},
"hsl": {
"h": 253.714,
"s": 49.296,
"l": 41.765
},
"oklch": {
"l": 0.42361,
"c": 0.16152,
"h": 288
},
"luminance": 0.06761
}Semantic roles & 50–950 ramp
primary
#4E369F
secondary
#ACBC75
accent
#D94FB9
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81