#4E386E#4E386E
#4E386E is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.1% C 0.091 H 301.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4E386E |
|---|---|
| RGB | rgb(78, 56, 110) |
| HSL | hsl(264, 33%, 33%) |
| HSV | hsv(264, 49%, 43%) |
| CMYK | cmyk(29.1%, 49.1%, 0%, 56.9%) |
| CIE-LAB | lab(28.31, 22.22, -27.89) |
| CIE-LCH | lch(28.31, 35.66, 308.54°) |
| OKLab | oklab(39.11% 0.0472 -0.0782) |
| OKLCH | oklch(39.11% 0.091 301.1) |
| XYZ | xyz(7.3699, 5.5738, 15.4364) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.91
Blueberry
#464196
ΔE00 9.11
Rebeccapurple
#663399
ΔE00 9.35
Twilight
#4E518B
ΔE00 9.82
Grape
#6C3461
ΔE00 10.09
Dusk
#4E5481
ΔE00 10.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E386E #586E38
analogous
#383D6E #4E386E #69386E
triadic
#4E386E #6E4E38 #386E4E
tetradic
#4E386E #6E383D #586E38 #386E69
square
#4E386E #6E383D #586E38 #386E69
split-complementary
#4E386E #6E6938 #3D6E38
monochromatic
#140F1D #312345 #4E386E #6B4D97 #8A6CB4
Accessibility & contrast
On white
9.93
#4E386E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4E386E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E386E
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E386E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E386E | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284270
Deuteranopia (green-blind)
#2D436D
Tritanopia (blue-blind)
#48424D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e386e; /* rgb */ color: rgb(78, 56, 110); /* oklch */ color: oklch(39.1% 0.091 301.1);
Tailwind
colors: {
custom: {
50: '#816f98',
500: '#4e386e',
950: '#000000',
},
}SCSS
$custom: #4e386e; $custom-light: #816f98; $custom-dark: #000000;
JSON
{
"hex": "#4e386e",
"rgb": {
"r": 78,
"g": 56,
"b": 110
},
"hsl": {
"h": 264.444,
"s": 32.53,
"l": 32.549
},
"oklch": {
"l": 0.39106,
"c": 0.09133,
"h": 301.1
},
"luminance": 0.05574
}Semantic roles & 50–950 ramp
primary
#4E386E
secondary
#869E64
accent
#C95F9E
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070D
muted
#7C7A7E