#4E357E#4E357E
#4E357E is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.6% C 0.119 H 296.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4E357E |
|---|---|
| RGB | rgb(78, 53, 126) |
| HSL | hsl(261, 41%, 35%) |
| HSV | hsv(261, 58%, 49%) |
| CMYK | cmyk(38.1%, 57.9%, 0%, 50.6%) |
| CIE-LAB | lab(28.57, 28.64, -37.60) |
| CIE-LCH | lch(28.57, 47.26, 307.30°) |
| OKLab | oklab(39.62% 0.0528 -0.1066) |
| OKLCH | oklch(39.62% 0.119 296.4) |
| XYZ | xyz(8.1799, 5.6721, 20.3985) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.99
Rebeccapurple
#663399
ΔE00 6.21
Blueberry
#464196
ΔE00 6.23
Twilight
#4E518B
ΔE00 9.56
Ocean Blue
#4F42B5
ΔE00 9.69
Indigo
#4B0082
ΔE00 9.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E357E #657E35
analogous
#35407E #4E357E #72357E
triadic
#4E357E #7E4E35 #357E4E
tetradic
#4E357E #7E3540 #657E35 #357E72
square
#4E357E #7E3540 #657E35 #357E72
split-complementary
#4E357E #7E7235 #407E35
monochromatic
#191128 #332353 #4E357E #6947A9 #896CC1
Accessibility & contrast
On white
9.84
#4E357E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4E357E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E357E
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E357E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E357E | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134480
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#434454
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e357e; /* rgb */ color: rgb(78, 53, 126); /* oklch */ color: oklch(39.6% 0.119 296.4);
Tailwind
colors: {
custom: {
50: '#836da4',
500: '#4e357e',
950: '#000000',
},
}SCSS
$custom: #4e357e; $custom-light: #836da4; $custom-dark: #000000;
JSON
{
"hex": "#4e357e",
"rgb": {
"r": 78,
"g": 53,
"b": 126
},
"hsl": {
"h": 260.548,
"s": 40.782,
"l": 35.098
},
"oklch": {
"l": 0.39622,
"c": 0.11899,
"h": 296.4
},
"luminance": 0.05672
}Semantic roles & 50–950 ramp
primary
#4E357E
secondary
#92AA65
accent
#D157A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F