#4E396E#4E396E
#4E396E is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.3% C 0.090 H 300.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4E396E |
|---|---|
| RGB | rgb(78, 57, 110) |
| HSL | hsl(264, 32%, 33%) |
| HSV | hsv(264, 48%, 43%) |
| CMYK | cmyk(29.1%, 48.2%, 0%, 56.9%) |
| CIE-LAB | lab(28.57, 21.58, -27.48) |
| CIE-LCH | lch(28.57, 34.94, 308.14°) |
| OKLab | oklab(39.3% 0.0456 -0.077) |
| OKLCH | oklch(39.3% 0.09 300.6) |
| XYZ | xyz(7.4188, 5.6717, 15.4527) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.94
Blueberry
#464196
ΔE00 9.10
Rebeccapurple
#663399
ΔE00 9.53
Twilight
#4E518B
ΔE00 9.57
Grape
#6C3461
ΔE00 10.16
Dusk
#4E5481
ΔE00 10.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E396E #596E39
analogous
#393E6E #4E396E #69396E
triadic
#4E396E #6E4E39 #396E4E
tetradic
#4E396E #6E393E #596E39 #396E69
square
#4E396E #6E393E #596E39 #396E69
split-complementary
#4E396E #6E6939 #3E6E39
monochromatic
#150F1D #312446 #4E396E #6B4E96 #896EB4
Accessibility & contrast
On white
9.84
#4E396E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4E396E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E396E
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E396E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E396E | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4370
Deuteranopia (green-blind)
#2E436D
Tritanopia (blue-blind)
#48424E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e396e; /* rgb */ color: rgb(78, 57, 110); /* oklch */ color: oklch(39.3% 0.090 300.6);
Tailwind
colors: {
custom: {
50: '#817098',
500: '#4e396e',
950: '#000000',
},
}SCSS
$custom: #4e396e; $custom-light: #817098; $custom-dark: #000000;
JSON
{
"hex": "#4e396e",
"rgb": {
"r": 78,
"g": 57,
"b": 110
},
"hsl": {
"h": 263.774,
"s": 31.737,
"l": 32.745
},
"oklch": {
"l": 0.39299,
"c": 0.08952,
"h": 300.6
},
"luminance": 0.05672
}Semantic roles & 50–950 ramp
primary
#4E396E
secondary
#879D65
accent
#C8609F
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070D
muted
#7C7A7E