#4E428E#4E428E
#4E428E is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.121 H 287.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4E428E |
|---|---|
| RGB | rgb(78, 66, 142) |
| HSL | hsl(249, 37%, 41%) |
| HSV | hsv(249, 54%, 56%) |
| CMYK | cmyk(45.1%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(32.85, 25.25, -40.65) |
| CIE-LCH | lch(32.85, 47.85, 301.85°) |
| OKLab | oklab(43.14% 0.0363 -0.1155) |
| OKLCH | oklch(43.14% 0.121 287.4) |
| XYZ | xyz(9.9712, 7.4687, 26.5022) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.69
Blueberry
#464196
ΔE00 2.44
Twilight
#4E518B
ΔE00 5.59
Ocean Blue
#4F42B5
ΔE00 6.49
Rebeccapurple
#663399
ΔE00 7.25
Dusk
#4E5481
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E428E #828E42
analogous
#425C8E #4E428E #74428E
triadic
#4E428E #8E4E42 #428E4E
tetradic
#4E428E #8E425C #828E42 #428E74
square
#4E428E #8E425C #828E42 #428E74
split-complementary
#4E428E #8E7442 #5C8E42
monochromatic
#201B3A #372F64 #4E428E #685BB3 #8F84C6
Accessibility & contrast
On white
8.42
#4E428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#4E428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E428E
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E428E | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#3B5261
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4e428e; /* rgb */ color: rgb(78, 66, 142); /* oklch */ color: oklch(43.1% 0.121 287.4);
Tailwind
colors: {
custom: {
50: '#8476af',
500: '#4e428e',
950: '#000000',
},
}SCSS
$custom: #4e428e; $custom-light: #8476af; $custom-dark: #000000;
JSON
{
"hex": "#4e428e",
"rgb": {
"r": 78,
"g": 66,
"b": 142
},
"hsl": {
"h": 249.474,
"s": 36.538,
"l": 40.784
},
"oklch": {
"l": 0.4314,
"c": 0.12112,
"h": 287.4
},
"luminance": 0.07469
}Semantic roles & 50–950 ramp
primary
#4E428E
secondary
#A8B17B
accent
#CD5BBB
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0810
muted
#7C7B7F