#4E347E#4E347E
#4E347E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.4% C 0.121 H 296.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4E347E |
|---|---|
| RGB | rgb(78, 52, 126) |
| HSL | hsl(261, 42%, 35%) |
| HSV | hsv(261, 59%, 49%) |
| CMYK | cmyk(38.1%, 58.7%, 0%, 50.6%) |
| CIE-LAB | lab(28.33, 29.26, -37.98) |
| CIE-LCH | lch(28.33, 47.94, 307.61°) |
| OKLab | oklab(39.45% 0.0542 -0.1077) |
| OKLCH | oklch(39.45% 0.121 296.7) |
| XYZ | xyz(8.1348, 5.5819, 20.3834) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.17
Rebeccapurple
#663399
ΔE00 6.11
Blueberry
#464196
ΔE00 6.38
Indigo
#4B0082
ΔE00 9.53
Ocean Blue
#4F42B5
ΔE00 9.75
Twilight
#4E518B
ΔE00 9.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E347E #647E34
analogous
#343F7E #4E347E #73347E
triadic
#4E347E #7E4E34 #347E4E
tetradic
#4E347E #7E343F #647E34 #347E73
square
#4E347E #7E343F #647E34 #347E73
split-complementary
#4E347E #7E7334 #3F7E34
monochromatic
#181027 #332253 #4E347E #6946A9 #896BC2
Accessibility & contrast
On white
9.92
#4E347E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4E347E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E347E
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E347E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E347E | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104380
Deuteranopia (green-blind)
#19427C
Tritanopia (blue-blind)
#434353
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e347e; /* rgb */ color: rgb(78, 52, 126); /* oklch */ color: oklch(39.4% 0.121 296.7);
Tailwind
colors: {
custom: {
50: '#836ca4',
500: '#4e347e',
950: '#000000',
},
}SCSS
$custom: #4e347e; $custom-light: #836ca4; $custom-dark: #000000;
JSON
{
"hex": "#4e347e",
"rgb": {
"r": 78,
"g": 52,
"b": 126
},
"hsl": {
"h": 261.081,
"s": 41.573,
"l": 34.902
},
"oklch": {
"l": 0.39447,
"c": 0.1206,
"h": 296.7
},
"luminance": 0.05582
}Semantic roles & 50–950 ramp
primary
#4E347E
secondary
#91AA64
accent
#D156A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F