#4E427E#4E427E
#4E427E is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.1% C 0.098 H 290.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4E427E |
|---|---|
| RGB | rgb(78, 66, 126) |
| HSL | hsl(252, 31%, 38%) |
| HSV | hsv(252, 48%, 49%) |
| CMYK | cmyk(38.1%, 47.6%, 0%, 50.6%) |
| CIE-LAB | lab(31.86, 20.38, -32.35) |
| CIE-LCH | lch(31.86, 38.23, 302.22°) |
| OKLab | oklab(42.07% 0.0346 -0.0912) |
| OKLCH | oklch(42.07% 0.098 290.8) |
| XYZ | xyz(8.8550, 7.0223, 20.6235) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.96
Blueberry
#464196
ΔE00 5.57
Twilight
#4E518B
ΔE00 5.59
Dusk
#4E5481
ΔE00 6.90
Rebeccapurple
#663399
ΔE00 8.81
Ocean Blue
#4F42B5
ΔE00 9.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E427E #727E42
analogous
#42547E #4E427E #6C427E
triadic
#4E427E #7E4E42 #427E4E
tetradic
#4E427E #7E4254 #727E42 #427E6C
square
#4E427E #7E4254 #727E42 #427E6C
split-complementary
#4E427E #7E6C42 #547E42
monochromatic
#1C182E #352D56 #4E427E #6757A6 #8B7FBC
Accessibility & contrast
On white
8.73
#4E427E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#4E427E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E427E
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E427E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E427E | 1.00 | 8.73 | 2.40 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#424E5A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4e427e; /* rgb */ color: rgb(78, 66, 126); /* oklch */ color: oklch(42.1% 0.098 290.8);
Tailwind
colors: {
custom: {
50: '#8276a4',
500: '#4e427e',
950: '#000000',
},
}SCSS
$custom: #4e427e; $custom-light: #8276a4; $custom-dark: #000000;
JSON
{
"hex": "#4e427e",
"rgb": {
"r": 78,
"g": 66,
"b": 126
},
"hsl": {
"h": 252,
"s": 31.25,
"l": 37.647
},
"oklch": {
"l": 0.42074,
"c": 0.09757,
"h": 290.8
},
"luminance": 0.07022
}Semantic roles & 50–950 ramp
primary
#4E427E
secondary
#9DA775
accent
#C760B3
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F