#4D366F#4D366F
#4D366F is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.7% C 0.096 H 300.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4D366F |
|---|---|
| RGB | rgb(77, 54, 111) |
| HSL | hsl(264, 35%, 32%) |
| HSV | hsv(264, 51%, 44%) |
| CMYK | cmyk(30.6%, 51.4%, 0%, 56.5%) |
| CIE-LAB | lab(27.75, 23.47, -29.43) |
| CIE-LCH | lch(27.75, 37.64, 308.57°) |
| OKLab | oklab(38.68% 0.049 -0.0827) |
| OKLCH | oklch(38.68% 0.096 300.6) |
| XYZ | xyz(7.2483, 5.3638, 15.6893) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.54
Blueberry
#464196
ΔE00 8.80
Rebeccapurple
#663399
ΔE00 8.89
Twilight
#4E518B
ΔE00 10.08
Grape
#6C3461
ΔE00 10.39
Dusk
#4E5481
ΔE00 10.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D366F #586F36
analogous
#363B6F #4D366F #6A366F
triadic
#4D366F #6F4D36 #366F4D
tetradic
#4D366F #6F363B #586F36 #366F6A
square
#4D366F #6F363B #586F36 #366F6A
split-complementary
#4D366F #6F6A36 #3B6F36
monochromatic
#140E1D #302246 #4D366F #6A4A98 #8869B6
Accessibility & contrast
On white
10.13
#4D366F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4D366F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D366F
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D366F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D366F | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#2A416E
Tritanopia (blue-blind)
#46404D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4d366f; /* rgb */ color: rgb(77, 54, 111); /* oklch */ color: oklch(38.7% 0.096 300.6);
Tailwind
colors: {
custom: {
50: '#816d98',
500: '#4d366f',
950: '#000000',
},
}SCSS
$custom: #4d366f; $custom-light: #816d98; $custom-dark: #000000;
JSON
{
"hex": "#4d366f",
"rgb": {
"r": 77,
"g": 54,
"b": 111
},
"hsl": {
"h": 264.211,
"s": 34.545,
"l": 32.353
},
"oklch": {
"l": 0.38677,
"c": 0.09612,
"h": 300.6
},
"luminance": 0.05364
}Semantic roles & 50–950 ramp
primary
#4D366F
secondary
#869F62
accent
#CB5D9E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070E
muted
#7C7A7E