#4E428F#4E428F
#4E428F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.123 H 287.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4E428F |
|---|---|
| RGB | rgb(78, 66, 143) |
| HSL | hsl(249, 37%, 41%) |
| HSV | hsv(249, 54%, 56%) |
| CMYK | cmyk(45.5%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(32.92, 25.56, -41.16) |
| CIE-LCH | lch(32.92, 48.45, 301.84°) |
| OKLab | oklab(43.21% 0.0364 -0.117) |
| OKLCH | oklch(43.21% 0.123 287.3) |
| XYZ | xyz(10.0466, 7.4989, 26.8994) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.69
Blueberry
#464196
ΔE00 2.29
Twilight
#4E518B
ΔE00 5.64
Ocean Blue
#4F42B5
ΔE00 6.30
Rebeccapurple
#663399
ΔE00 7.20
Dusk
#4E5481
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E428F #838F42
analogous
#425C8F #4E428F #74428F
triadic
#4E428F #8F4E42 #428F4E
tetradic
#4E428F #8F425C #838F42 #428F74
square
#4E428F #8F425C #838F42 #428F74
split-complementary
#4E428F #8F7442 #5C8F42
monochromatic
#201B3B #372F65 #4E428F #695BB3 #8F85C7
Accessibility & contrast
On white
8.40
#4E428F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#4E428F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E428F
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E428F | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#1D4B8D
Tritanopia (blue-blind)
#3A5262
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4e428f; /* rgb */ color: rgb(78, 66, 143); /* oklch */ color: oklch(43.2% 0.123 287.3);
Tailwind
colors: {
custom: {
50: '#8476b0',
500: '#4e428f',
950: '#000000',
},
}SCSS
$custom: #4e428f; $custom-light: #8476b0; $custom-dark: #000000;
JSON
{
"hex": "#4e428f",
"rgb": {
"r": 78,
"g": 66,
"b": 143
},
"hsl": {
"h": 249.351,
"s": 36.842,
"l": 40.98
},
"oklch": {
"l": 0.4321,
"c": 0.12257,
"h": 287.3
},
"luminance": 0.07499
}Semantic roles & 50–950 ramp
primary
#4E428F
secondary
#A9B17B
accent
#CD5BBB
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0810
muted
#7C7B7F