#4E2B9B#4E2B9B
#4E2B9B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.170 H 291.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2B9B |
|---|---|
| RGB | rgb(78, 43, 155) |
| HSL | hsl(259, 57%, 39%) |
| HSV | hsv(259, 72%, 61%) |
| CMYK | cmyk(49.7%, 72.3%, 0%, 39.2%) |
| CIE-LAB | lab(28.68, 42.84, -55.36) |
| CIE-LCH | lch(28.68, 70.00, 307.73°) |
| OKLab | oklab(40.41% 0.0614 -0.1588) |
| OKLCH | oklch(40.41% 0.17 291.1) |
| XYZ | xyz(9.9205, 5.7136, 31.5841) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.96
Indigo Blue
#3A18B1
ΔE00 5.25
Darkslateblue
#483D8B
ΔE00 6.25
Blueberry
#464196
ΔE00 6.77
Ocean Blue
#4F42B5
ΔE00 6.97
Violet Blue
#510AC9
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2B9B #789B2B
analogous
#2B409B #4E2B9B #862B9B
triadic
#4E2B9B #9B4E2B #2B9B4E
tetradic
#4E2B9B #9B2B40 #789B2B #2B9B86
square
#4E2B9B #9B2B40 #789B2B #2B9B86
split-complementary
#4E2B9B #9B862B #409B2B
monochromatic
#1E103B #361E6B #4E2B9B #673BC9 #8C6BD6
Accessibility & contrast
On white
9.80
#4E2B9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4E2B9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2B9B
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2B9B | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#354860
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e2b9b; /* rgb */ color: rgb(78, 43, 155); /* oklch */ color: oklch(40.4% 0.170 291.1);
Tailwind
colors: {
custom: {
50: '#8767b9',
500: '#4e2b9b',
950: '#000000',
},
}SCSS
$custom: #4e2b9b; $custom-light: #8767b9; $custom-dark: #000000;
JSON
{
"hex": "#4e2b9b",
"rgb": {
"r": 78,
"g": 43,
"b": 155
},
"hsl": {
"h": 258.75,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.40408,
"c": 0.17026,
"h": 291.1
},
"luminance": 0.05714
}Semantic roles & 50–950 ramp
primary
#4E2B9B
secondary
#A1BC65
accent
#E048B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81