#4E337F#4E337F
#4E337F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.3% C 0.124 H 296.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4E337F |
|---|---|
| RGB | rgb(78, 51, 127) |
| HSL | hsl(261, 43%, 35%) |
| HSV | hsv(261, 60%, 50%) |
| CMYK | cmyk(38.6%, 59.8%, 0%, 50.2%) |
| CIE-LAB | lab(28.17, 30.16, -38.87) |
| CIE-LCH | lch(28.17, 49.20, 307.81°) |
| OKLab | oklab(39.35% 0.0555 -0.1104) |
| OKLCH | oklch(39.35% 0.124 296.7) |
| XYZ | xyz(8.1555, 5.5195, 20.7103) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.24
Rebeccapurple
#663399
ΔE00 5.89
Blueberry
#464196
ΔE00 6.41
Indigo
#4B0082
ΔE00 9.17
Ocean Blue
#4F42B5
ΔE00 9.63
Royal Purple (survey)
#4B006E
ΔE00 9.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E337F #647F33
analogous
#333E7F #4E337F #74337F
triadic
#4E337F #7F4E33 #337F4E
tetradic
#4E337F #7F333E #647F33 #337F74
square
#4E337F #7F333E #647F33 #337F74
split-complementary
#4E337F #7F7433 #3E7F33
monochromatic
#181028 #332153 #4E337F #6945AB #8969C3
Accessibility & contrast
On white
9.98
#4E337F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4E337F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E337F
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E337F | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A4382
Deuteranopia (green-blind)
#16417D
Tritanopia (blue-blind)
#424354
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4e337f; /* rgb */ color: rgb(78, 51, 127); /* oklch */ color: oklch(39.3% 0.124 296.7);
Tailwind
colors: {
custom: {
50: '#836ca5',
500: '#4e337f',
950: '#000000',
},
}SCSS
$custom: #4e337f; $custom-light: #836ca5; $custom-dark: #000000;
JSON
{
"hex": "#4e337f",
"rgb": {
"r": 78,
"g": 51,
"b": 127
},
"hsl": {
"h": 261.316,
"s": 42.697,
"l": 34.902
},
"oklch": {
"l": 0.39347,
"c": 0.12353,
"h": 296.7
},
"luminance": 0.0552
}Semantic roles & 50–950 ramp
primary
#4E337F
secondary
#91AB63
accent
#D255A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F