#4E3692#4E3692
#4E3692 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.145 H 290.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4E3692 |
|---|---|
| RGB | rgb(78, 54, 146) |
| HSL | hsl(256, 46%, 39%) |
| HSV | hsv(256, 63%, 57%) |
| CMYK | cmyk(46.6%, 63%, 0%, 42.7%) |
| CIE-LAB | lab(30.24, 33.94, -47.32) |
| CIE-LCH | lch(30.24, 58.23, 305.65°) |
| OKLab | oklab(41.3% 0.0511 -0.1352) |
| OKLCH | oklch(41.3% 0.145 290.7) |
| XYZ | xyz(9.6479, 6.3330, 27.9026) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.11
Blueberry
#464196
ΔE00 4.13
Rebeccapurple
#663399
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 6.24
Sapphire (survey)
#2138AB
ΔE00 7.49
Blue With A Hint Of Purple
#533CC6
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E3692 #7A9236
analogous
#364C92 #4E3692 #7C3692
triadic
#4E3692 #924E36 #36924E
tetradic
#4E3692 #92364C #7A9236 #36927C
square
#4E3692 #92364C #7A9236 #36927C
split-complementary
#4E3692 #927C36 #4C9236
monochromatic
#1E1539 #362565 #4E3692 #6749BC #8D76CC
Accessibility & contrast
On white
9.26
#4E3692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#4E3692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E3692
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E3692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E3692 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#394B5F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4e3692; /* rgb */ color: rgb(78, 54, 146); /* oklch */ color: oklch(41.3% 0.145 290.7);
Tailwind
colors: {
custom: {
50: '#856eb3',
500: '#4e3692',
950: '#000000',
},
}SCSS
$custom: #4e3692; $custom-light: #856eb3; $custom-dark: #000000;
JSON
{
"hex": "#4e3692",
"rgb": {
"r": 78,
"g": 54,
"b": 146
},
"hsl": {
"h": 255.652,
"s": 46,
"l": 39.216
},
"oklch": {
"l": 0.41301,
"c": 0.14451,
"h": 290.7
},
"luminance": 0.06333
}Semantic roles & 50–950 ramp
primary
#4E3692
secondary
#A3B56F
accent
#D652B3
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0711
muted
#7C7A80