#4D389F#4D389F
#4D389F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.6% C 0.159 H 287.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4D389F |
|---|---|
| RGB | rgb(77, 56, 159) |
| HSL | hsl(252, 48%, 42%) |
| HSV | hsv(252, 65%, 62%) |
| CMYK | cmyk(51.6%, 64.8%, 0%, 37.6%) |
| CIE-LAB | lab(31.60, 36.49, -53.04) |
| CIE-LCH | lch(31.60, 64.38, 304.53°) |
| OKLab | oklab(42.59% 0.0464 -0.152) |
| OKLCH | oklch(42.59% 0.159 287) |
| XYZ | xyz(10.7309, 6.9088, 33.5623) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 3.77
Darkslateblue
#483D8B
ΔE00 4.10
Ocean Blue
#4F42B5
ΔE00 4.19
Rebeccapurple
#663399
ΔE00 5.47
Blue With A Hint Of Purple
#533CC6
ΔE00 5.78
Sapphire (survey)
#2138AB
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D389F #8A9F38
analogous
#38579F #4D389F #81389F
triadic
#4D389F #9F4D38 #389F4D
tetradic
#4D389F #9F3857 #8A9F38 #389F81
square
#4D389F #9F3857 #8A9F38 #389F81
split-complementary
#4D389F #9F8138 #579F38
monochromatic
#211844 #372872 #4D389F #6952C2 #907FD2
Accessibility & contrast
On white
8.82
#4D389F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#4D389F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D389F
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D389F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D389F | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#2F5166
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4d389f; /* rgb */ color: rgb(77, 56, 159); /* oklch */ color: oklch(42.6% 0.159 287.0);
Tailwind
colors: {
custom: {
50: '#8670bc',
500: '#4d389f',
950: '#000000',
},
}SCSS
$custom: #4d389f; $custom-light: #8670bc; $custom-dark: #000000;
JSON
{
"hex": "#4d389f",
"rgb": {
"r": 77,
"g": 56,
"b": 159
},
"hsl": {
"h": 252.233,
"s": 47.907,
"l": 42.157
},
"oklch": {
"l": 0.42586,
"c": 0.15895,
"h": 287
},
"luminance": 0.06909
}Semantic roles & 50–950 ramp
primary
#4D389F
secondary
#AEBB77
accent
#D750BC
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81