#4E357F#4E357F
#4E357F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.7% C 0.120 H 296.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4E357F |
|---|---|
| RGB | rgb(78, 53, 127) |
| HSL | hsl(260, 41%, 35%) |
| HSV | hsv(260, 58%, 50%) |
| CMYK | cmyk(38.6%, 58.3%, 0%, 50.2%) |
| CIE-LAB | lab(28.64, 28.93, -38.11) |
| CIE-LCH | lch(28.64, 47.85, 307.20°) |
| OKLab | oklab(39.69% 0.0529 -0.1081) |
| OKLCH | oklch(39.69% 0.12 296) |
| XYZ | xyz(8.2448, 5.6981, 20.7400) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.86
Blueberry
#464196
ΔE00 6.08
Rebeccapurple
#663399
ΔE00 6.08
Ocean Blue
#4F42B5
ΔE00 9.50
Twilight
#4E518B
ΔE00 9.54
Indigo
#4B0082
ΔE00 9.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E357F #667F35
analogous
#35417F #4E357F #73357F
triadic
#4E357F #7F4E35 #357F4E
tetradic
#4E357F #7F3541 #667F35 #357F73
square
#4E357F #7F3541 #667F35 #357F73
split-complementary
#4E357F #7F7335 #417F35
monochromatic
#191129 #332354 #4E357F #6947AA #896DC2
Accessibility & contrast
On white
9.81
#4E357F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4E357F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E357F
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E357F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E357F | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114481
Deuteranopia (green-blind)
#1A437D
Tritanopia (blue-blind)
#424454
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e357f; /* rgb */ color: rgb(78, 53, 127); /* oklch */ color: oklch(39.7% 0.120 296.0);
Tailwind
colors: {
custom: {
50: '#836da5',
500: '#4e357f',
950: '#000000',
},
}SCSS
$custom: #4e357f; $custom-light: #836da5; $custom-dark: #000000;
JSON
{
"hex": "#4e357f",
"rgb": {
"r": 78,
"g": 53,
"b": 127
},
"hsl": {
"h": 260.27,
"s": 41.111,
"l": 35.294
},
"oklch": {
"l": 0.39694,
"c": 0.12036,
"h": 296
},
"luminance": 0.05698
}Semantic roles & 50–950 ramp
primary
#4E357F
secondary
#93AA66
accent
#D157A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F