#4E308E#4E308E
#4E308E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.0% C 0.148 H 293.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #4E308E |
|---|---|
| RGB | rgb(78, 48, 142) |
| HSL | hsl(259, 49%, 37%) |
| HSV | hsv(259, 66%, 56%) |
| CMYK | cmyk(45.1%, 66.2%, 0%, 44.3%) |
| CIE-LAB | lab(28.61, 36.30, -47.50) |
| CIE-LCH | lch(28.61, 59.78, 307.39°) |
| OKLab | oklab(40.02% 0.0583 -0.1357) |
| OKLCH | oklch(40.02% 0.148 293.2) |
| XYZ | xyz(9.0800, 5.6863, 26.2051) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.45
Rebeccapurple
#663399
ΔE00 4.66
Blueberry
#464196
ΔE00 5.75
Indigo Blue
#3A18B1
ΔE00 7.58
Ocean Blue
#4F42B5
ΔE00 7.59
Indigo
#4B0082
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E308E #708E30
analogous
#30418E #4E308E #7D308E
triadic
#4E308E #8E4E30 #308E4E
tetradic
#4E308E #8E3041 #708E30 #308E7D
square
#4E308E #8E3041 #708E30 #308E7D
split-complementary
#4E308E #8E7D30 #418E30
monochromatic
#1C1133 #352160 #4E308E #673FBC #8B6BCD
Accessibility & contrast
On white
9.83
#4E308E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4E308E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E308E
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E308E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E308E | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#3C465A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e308e; /* rgb */ color: rgb(78, 48, 142); /* oklch */ color: oklch(40.0% 0.148 293.2);
Tailwind
colors: {
custom: {
50: '#856ab0',
500: '#4e308e',
950: '#000000',
},
}SCSS
$custom: #4e308e; $custom-light: #856ab0; $custom-dark: #000000;
JSON
{
"hex": "#4e308e",
"rgb": {
"r": 78,
"g": 48,
"b": 142
},
"hsl": {
"h": 259.149,
"s": 49.474,
"l": 37.255
},
"oklch": {
"l": 0.40021,
"c": 0.14771,
"h": 293.2
},
"luminance": 0.05687
}Semantic roles & 50–950 ramp
primary
#4E308E
secondary
#9BB465
accent
#D94FAD
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F