#4D367F#4D367F
#4D367F is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.8% C 0.119 H 295.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4D367F |
|---|---|
| RGB | rgb(77, 54, 127) |
| HSL | hsl(259, 40%, 35%) |
| HSV | hsv(259, 57%, 50%) |
| CMYK | cmyk(39.4%, 57.5%, 0%, 50.2%) |
| CIE-LAB | lab(28.77, 28.05, -37.91) |
| CIE-LCH | lch(28.77, 47.16, 306.50°) |
| OKLab | oklab(39.77% 0.0501 -0.1076) |
| OKLCH | oklch(39.77% 0.119 295) |
| XYZ | xyz(8.2095, 5.7483, 20.7516) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.53
Blueberry
#464196
ΔE00 5.79
Rebeccapurple
#663399
ΔE00 6.34
Twilight
#4E518B
ΔE00 9.16
Ocean Blue
#4F42B5
ΔE00 9.39
Indigo
#4B0082
ΔE00 10.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D367F #687F36
analogous
#36447F #4D367F #71367F
triadic
#4D367F #7F4D36 #367F4D
tetradic
#4D367F #7F3644 #687F36 #367F71
square
#4D367F #7F3644 #687F36 #367F71
split-complementary
#4D367F #7F7136 #447F36
monochromatic
#191129 #332454 #4D367F #6748AA #886EC1
Accessibility & contrast
On white
9.77
#4D367F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4D367F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D367F
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D367F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D367F | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134481
Deuteranopia (green-blind)
#1A437D
Tritanopia (blue-blind)
#414555
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4d367f; /* rgb */ color: rgb(77, 54, 127); /* oklch */ color: oklch(39.8% 0.119 295.0);
Tailwind
colors: {
custom: {
50: '#826ea5',
500: '#4d367f',
950: '#000000',
},
}SCSS
$custom: #4d367f; $custom-light: #826ea5; $custom-dark: #000000;
JSON
{
"hex": "#4d367f",
"rgb": {
"r": 77,
"g": 54,
"b": 127
},
"hsl": {
"h": 258.904,
"s": 40.331,
"l": 35.49
},
"oklch": {
"l": 0.39765,
"c": 0.11866,
"h": 295
},
"luminance": 0.05748
}Semantic roles & 50–950 ramp
primary
#4D367F
secondary
#95AA67
accent
#D058AA
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F