#5E428E#5E428E
#5E428E is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.7% C 0.122 H 298.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5E428E |
|---|---|
| RGB | rgb(94, 66, 142) |
| HSL | hsl(262, 37%, 41%) |
| HSV | hsv(262, 54%, 56%) |
| CMYK | cmyk(33.8%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(34.46, 29.43, -37.99) |
| CIE-LCH | lch(34.46, 48.06, 307.76°) |
| OKLab | oklab(44.72% 0.0579 -0.1073) |
| OKLCH | oklch(44.72% 0.122 298.3) |
| XYZ | xyz(11.4456, 8.2290, 26.5713) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.76
Rebeccapurple
#663399
ΔE00 5.05
Blueberry
#464196
ΔE00 5.82
Royal Purple
#7851A9
ΔE00 7.12
Twilight
#4E518B
ΔE00 7.58
Ocean Blue
#4F42B5
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E428E #728E42
analogous
#424C8E #5E428E #84428E
triadic
#5E428E #8E5E42 #428E5E
tetradic
#5E428E #8E424C #728E42 #428E84
square
#5E428E #8E424C #728E42 #428E84
split-complementary
#5E428E #8E8442 #4C8E42
monochromatic
#271B3A #422F64 #5E428E #7B5BB3 #9D84C6
Accessibility & contrast
On white
7.94
#5E428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#5E428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E428E
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E428E | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265191
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#545161
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5e428e; /* rgb */ color: rgb(94, 66, 142); /* oklch */ color: oklch(44.7% 0.122 298.3);
Tailwind
colors: {
custom: {
50: '#8e77af',
500: '#5e428e',
950: '#000000',
},
}SCSS
$custom: #5e428e; $custom-light: #8e77af; $custom-dark: #000000;
JSON
{
"hex": "#5e428e",
"rgb": {
"r": 94,
"g": 66,
"b": 142
},
"hsl": {
"h": 262.105,
"s": 36.538,
"l": 40.784
},
"oklch": {
"l": 0.44716,
"c": 0.12188,
"h": 298.3
},
"luminance": 0.08229
}Semantic roles & 50–950 ramp
primary
#5E428E
secondary
#9DB17B
accent
#CD5BA3
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0D0910
muted
#7D7B7F