#4E346F#4E346F
#4E346F is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.4% C 0.100 H 302.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4E346F |
|---|---|
| RGB | rgb(78, 52, 111) |
| HSL | hsl(266, 36%, 32%) |
| HSV | hsv(266, 53%, 44%) |
| CMYK | cmyk(29.7%, 53.2%, 0%, 56.5%) |
| CIE-LAB | lab(27.36, 25.03, -30.03) |
| CIE-LCH | lch(27.36, 39.10, 309.81°) |
| OKLab | oklab(38.42% 0.0534 -0.0844) |
| OKLCH | oklch(38.42% 0.1 302.3) |
| XYZ | xyz(7.2385, 5.2234, 15.6627) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.78
Rebeccapurple
#663399
ΔE00 8.54
Blueberry
#464196
ΔE00 9.06
Grape
#6C3461
ΔE00 10.10
Royal Purple (survey)
#4B006E
ΔE00 10.43
Darkish Purple
#751973
ΔE00 10.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E346F #556F34
analogous
#34386F #4E346F #6C346F
triadic
#4E346F #6F4E34 #346F4E
tetradic
#4E346F #6F3438 #556F34 #346F6C
square
#4E346F #6F3438 #556F34 #346F6C
split-complementary
#4E346F #6F6C34 #386F34
monochromatic
#130D1C #312045 #4E346F #6B4899 #8A66B7
Accessibility & contrast
On white
10.27
#4E346F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#4E346F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E346F
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E346F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E346F | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#28406E
Tritanopia (blue-blind)
#483F4C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4e346f; /* rgb */ color: rgb(78, 52, 111); /* oklch */ color: oklch(38.4% 0.100 302.3);
Tailwind
colors: {
custom: {
50: '#816c99',
500: '#4e346f',
950: '#000000',
},
}SCSS
$custom: #4e346f; $custom-light: #816c99; $custom-dark: #000000;
JSON
{
"hex": "#4e346f",
"rgb": {
"r": 78,
"g": 52,
"b": 111
},
"hsl": {
"h": 266.441,
"s": 36.196,
"l": 31.961
},
"oklch": {
"l": 0.38417,
"c": 0.0999,
"h": 302.3
},
"luminance": 0.05223
}Semantic roles & 50–950 ramp
primary
#4E346F
secondary
#83A05F
accent
#CC5C9B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070E
muted
#7C7A7E