#4E427F#4E427F
#4E427F is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.1% C 0.099 H 290.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4E427F |
|---|---|
| RGB | rgb(78, 66, 127) |
| HSL | hsl(252, 32%, 38%) |
| HSV | hsv(252, 48%, 50%) |
| CMYK | cmyk(38.6%, 48%, 0%, 50.2%) |
| CIE-LAB | lab(31.92, 20.68, -32.87) |
| CIE-LCH | lch(31.92, 38.84, 302.17°) |
| OKLab | oklab(42.14% 0.0348 -0.0928) |
| OKLCH | oklch(42.14% 0.099 290.6) |
| XYZ | xyz(8.9198, 7.0482, 20.9650) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.75
Blueberry
#464196
ΔE00 5.35
Twilight
#4E518B
ΔE00 5.53
Dusk
#4E5481
ΔE00 6.92
Rebeccapurple
#663399
ΔE00 8.67
Ocean Blue
#4F42B5
ΔE00 9.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E427F #737F42
analogous
#42557F #4E427F #6C427F
triadic
#4E427F #7F4E42 #427F4E
tetradic
#4E427F #7F4255 #737F42 #427F6C
square
#4E427F #7F4255 #737F42 #427F6C
split-complementary
#4E427F #7F6C42 #557F42
monochromatic
#1D182E #352D57 #4E427F #6757A7 #8B7FBC
Accessibility & contrast
On white
8.72
#4E427F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#4E427F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E427F
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E427F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E427F | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#2D4A7E
Tritanopia (blue-blind)
#414E5A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4e427f; /* rgb */ color: rgb(78, 66, 127); /* oklch */ color: oklch(42.1% 0.099 290.6);
Tailwind
colors: {
custom: {
50: '#8276a4',
500: '#4e427f',
950: '#000000',
},
}SCSS
$custom: #4e427f; $custom-light: #8276a4; $custom-dark: #000000;
JSON
{
"hex": "#4e427f",
"rgb": {
"r": 78,
"g": 66,
"b": 127
},
"hsl": {
"h": 251.803,
"s": 31.606,
"l": 37.843
},
"oklch": {
"l": 0.42137,
"c": 0.09908,
"h": 290.6
},
"luminance": 0.07048
}Semantic roles & 50–950 ramp
primary
#4E427F
secondary
#9EA775
accent
#C860B3
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F