#4E3864#4E3864
#4E3864 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.5% C 0.077 H 306.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4E3864 |
|---|---|
| RGB | rgb(78, 56, 100) |
| HSL | hsl(270, 28%, 31%) |
| HSV | hsv(270, 44%, 39%) |
| CMYK | cmyk(22%, 44%, 0%, 60.8%) |
| CIE-LAB | lab(27.76, 19.52, -22.35) |
| CIE-LCH | lch(27.76, 29.67, 311.13°) |
| OKLab | oklab(38.51% 0.0454 -0.0621) |
| OKLCH | oklch(38.51% 0.077 306.1) |
| XYZ | xyz(6.8558, 5.3682, 12.7291) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Grape
#6C3461
ΔE00 8.84
Darkslateblue
#483D8B
ΔE00 9.55
Twilight
#4E518B
ΔE00 11.27
Grape Purple
#5D1451
ΔE00 11.29
Dusk
#4E5481
ΔE00 11.41
Bruise
#7E4071
ΔE00 11.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E3864 #4E6438
analogous
#383864 #4E3864 #643864
triadic
#4E3864 #644E38 #38644E
tetradic
#4E3864 #643838 #4E6438 #386464
square
#4E3864 #643838 #4E6438 #386464
split-complementary
#4E3864 #646438 #386438
monochromatic
#110C16 #2F223D #4E3864 #6D4E8B #8B6BAC
Accessibility & contrast
On white
10.13
#4E3864 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4E3864 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E3864
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E3864 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E3864 | 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)
#2E4166
Deuteranopia (green-blind)
#334263
Tritanopia (blue-blind)
#4B3F49
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4e3864; /* rgb */ color: rgb(78, 56, 100); /* oklch */ color: oklch(38.5% 0.077 306.1);
Tailwind
colors: {
custom: {
50: '#806f90',
500: '#4e3864',
950: '#000000',
},
}SCSS
$custom: #4e3864; $custom-light: #806f90; $custom-dark: #000000;
JSON
{
"hex": "#4e3864",
"rgb": {
"r": 78,
"g": 56,
"b": 100
},
"hsl": {
"h": 270,
"s": 28.205,
"l": 30.588
},
"oklch": {
"l": 0.38511,
"c": 0.07692,
"h": 306.1
},
"luminance": 0.05368
}Semantic roles & 50–950 ramp
primary
#4E3864
secondary
#7C9463
accent
#C56394
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070C
muted
#7C7A7D