#4E3966#4E3966
#4E3966 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 38.8% C 0.078 H 304.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4E3966 |
|---|---|
| RGB | rgb(78, 57, 102) |
| HSL | hsl(268, 28%, 31%) |
| HSV | hsv(268, 44%, 40%) |
| CMYK | cmyk(23.5%, 44.1%, 0%, 60%) |
| CIE-LAB | lab(28.13, 19.40, -23.05) |
| CIE-LCH | lch(28.13, 30.13, 310.08°) |
| OKLab | oklab(38.82% 0.0442 -0.0642) |
| OKLCH | oklch(38.82% 0.078 304.5) |
| XYZ | xyz(7.0028, 5.5053, 13.2615) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 9.06
Grape
#6C3461
ΔE00 9.17
Twilight
#4E518B
ΔE00 10.75
Dusk
#4E5481
ΔE00 10.92
Blueberry
#464196
ΔE00 11.14
Rebeccapurple
#663399
ΔE00 11.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E3966 #516639
analogous
#393A66 #4E3966 #643966
triadic
#4E3966 #664E39 #39664E
tetradic
#4E3966 #66393A #516639 #396664
square
#4E3966 #66393A #516639 #396664
split-complementary
#4E3966 #666439 #3A6639
monochromatic
#120D17 #30233F #4E3966 #6C4F8D #8B6CAD
Accessibility & contrast
On white
10.00
#4E3966 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4E3966 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E3966
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E3966 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E3966 | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4268
Deuteranopia (green-blind)
#334265
Tritanopia (blue-blind)
#4A404A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4e3966; /* rgb */ color: rgb(78, 57, 102); /* oklch */ color: oklch(38.8% 0.078 304.5);
Tailwind
colors: {
custom: {
50: '#806f92',
500: '#4e3966',
950: '#000000',
},
}SCSS
$custom: #4e3966; $custom-light: #806f92; $custom-dark: #000000;
JSON
{
"hex": "#4e3966",
"rgb": {
"r": 78,
"g": 57,
"b": 102
},
"hsl": {
"h": 268,
"s": 28.302,
"l": 31.176
},
"oklch": {
"l": 0.38824,
"c": 0.0779,
"h": 304.5
},
"luminance": 0.05505
}Semantic roles & 50–950 ramp
primary
#4E3966
secondary
#7F9665
accent
#C56397
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070D
muted
#7C7A7D