#4E3968#4E3968
#4E3968 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 38.9% C 0.081 H 303.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4E3968 |
|---|---|
| RGB | rgb(78, 57, 104) |
| HSL | hsl(267, 29%, 32%) |
| HSV | hsv(267, 45%, 41%) |
| CMYK | cmyk(25%, 45.2%, 0%, 59.2%) |
| CIE-LAB | lab(28.24, 19.94, -24.17) |
| CIE-LCH | lch(28.24, 31.33, 309.52°) |
| OKLab | oklab(38.94% 0.0446 -0.0674) |
| OKLCH | oklch(38.94% 0.081 303.5) |
| XYZ | xyz(7.1032, 5.5454, 13.7902) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 8.51
Grape
#6C3461
ΔE00 9.39
Twilight
#4E518B
ΔE00 10.42
Blueberry
#464196
ΔE00 10.61
Dusk
#4E5481
ΔE00 10.72
Rebeccapurple
#663399
ΔE00 10.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E3968 #536839
analogous
#393B68 #4E3968 #663968
triadic
#4E3968 #684E39 #39684E
tetradic
#4E3968 #68393B #536839 #396866
square
#4E3968 #68393B #536839 #396866
split-complementary
#4E3968 #686639 #3B6839
monochromatic
#130E19 #302340 #4E3968 #6C4F90 #8A6DAF
Accessibility & contrast
On white
9.96
#4E3968 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4E3968 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E3968
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E3968 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E3968 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D426A
Deuteranopia (green-blind)
#324367
Tritanopia (blue-blind)
#4A414B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e3968; /* rgb */ color: rgb(78, 57, 104); /* oklch */ color: oklch(38.9% 0.081 303.5);
Tailwind
colors: {
custom: {
50: '#816f93',
500: '#4e3968',
950: '#000000',
},
}SCSS
$custom: #4e3968; $custom-light: #816f93; $custom-dark: #000000;
JSON
{
"hex": "#4e3968",
"rgb": {
"r": 78,
"g": 57,
"b": 104
},
"hsl": {
"h": 266.809,
"s": 29.193,
"l": 31.569
},
"oklch": {
"l": 0.3894,
"c": 0.08081,
"h": 303.5
},
"luminance": 0.05545
}Semantic roles & 50–950 ramp
primary
#4E3968
secondary
#819865
accent
#C56299
background
#F7F6F9
surface
#EEECF1
border
#C9C7CB
text
#0A070D
muted
#7C7A7E