#4E328B#4E328B
#4E328B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.141 H 293.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #4E328B |
|---|---|
| RGB | rgb(78, 50, 139) |
| HSL | hsl(259, 47%, 37%) |
| HSV | hsv(259, 64%, 55%) |
| CMYK | cmyk(43.9%, 64%, 0%, 45.5%) |
| CIE-LAB | lab(28.81, 34.25, -45.31) |
| CIE-LCH | lch(28.81, 56.80, 307.09°) |
| OKLab | oklab(40.1% 0.0563 -0.1293) |
| OKLCH | oklch(40.1% 0.141 293.5) |
| XYZ | xyz(8.9414, 5.7647, 25.0627) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.88
Rebeccapurple
#663399
ΔE00 4.81
Blueberry
#464196
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 7.76
Indigo Blue
#3A18B1
ΔE00 8.34
Indigo
#4B0082
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E328B #6F8B32
analogous
#32438B #4E328B #7B328B
triadic
#4E328B #8B4E32 #328B4E
tetradic
#4E328B #8B3243 #6F8B32 #328B7B
square
#4E328B #8B3243 #6F8B32 #328B7B
split-complementary
#4E328B #8B7B32 #438B32
monochromatic
#1B1231 #35225E #4E328B #6742B8 #8A6DCA
Accessibility & contrast
On white
9.75
#4E328B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4E328B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E328B
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E328B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E328B | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#3D4659
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e328b; /* rgb */ color: rgb(78, 50, 139); /* oklch */ color: oklch(40.1% 0.141 293.5);
Tailwind
colors: {
custom: {
50: '#856bae',
500: '#4e328b',
950: '#000000',
},
}SCSS
$custom: #4e328b; $custom-light: #856bae; $custom-dark: #000000;
JSON
{
"hex": "#4e328b",
"rgb": {
"r": 78,
"g": 50,
"b": 139
},
"hsl": {
"h": 258.876,
"s": 47.09,
"l": 37.059
},
"oklch": {
"l": 0.40096,
"c": 0.14101,
"h": 293.5
},
"luminance": 0.05765
}Semantic roles & 50–950 ramp
primary
#4E328B
secondary
#9AB267
accent
#D751AD
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F