#4E367F#4E367F
#4E367F is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.9% C 0.119 H 295.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4E367F |
|---|---|
| RGB | rgb(78, 54, 127) |
| HSL | hsl(260, 40%, 35%) |
| HSV | hsv(260, 57%, 50%) |
| CMYK | cmyk(38.6%, 57.5%, 0%, 50.2%) |
| CIE-LAB | lab(28.88, 28.31, -37.73) |
| CIE-LCH | lch(28.88, 47.17, 306.88°) |
| OKLab | oklab(39.87% 0.0515 -0.107) |
| OKLCH | oklch(39.87% 0.119 295.7) |
| XYZ | xyz(8.2908, 5.7902, 20.7554) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.69
Blueberry
#464196
ΔE00 5.93
Rebeccapurple
#663399
ΔE00 6.20
Twilight
#4E518B
ΔE00 9.24
Ocean Blue
#4F42B5
ΔE00 9.45
Indigo
#4B0082
ΔE00 10.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E367F #677F36
analogous
#36427F #4E367F #72367F
triadic
#4E367F #7F4E36 #367F4E
tetradic
#4E367F #7F3642 #677F36 #367F72
square
#4E367F #7F3642 #677F36 #367F72
split-complementary
#4E367F #7F7236 #427F36
monochromatic
#191129 #342454 #4E367F #6848AA #896EC1
Accessibility & contrast
On white
9.73
#4E367F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#4E367F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E367F
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E367F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E367F | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144581
Deuteranopia (green-blind)
#1C437D
Tritanopia (blue-blind)
#424555
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e367f; /* rgb */ color: rgb(78, 54, 127); /* oklch */ color: oklch(39.9% 0.119 295.7);
Tailwind
colors: {
custom: {
50: '#836ea5',
500: '#4e367f',
950: '#000000',
},
}SCSS
$custom: #4e367f; $custom-light: #836ea5; $custom-dark: #000000;
JSON
{
"hex": "#4e367f",
"rgb": {
"r": 78,
"g": 54,
"b": 127
},
"hsl": {
"h": 259.726,
"s": 40.331,
"l": 35.49
},
"oklch": {
"l": 0.3987,
"c": 0.11876,
"h": 295.7
},
"luminance": 0.0579
}Semantic roles & 50–950 ramp
primary
#4E367F
secondary
#94AA67
accent
#D058A9
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F