#4E2BBB#4E2BBB
#4E2BBB is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.4% C 0.208 H 284.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2BBB |
|---|---|
| RGB | rgb(78, 43, 187) |
| HSL | hsl(255, 63%, 45%) |
| HSV | hsv(255, 77%, 73%) |
| CMYK | cmyk(58.3%, 77%, 0%, 26.7%) |
| CIE-LAB | lab(31.66, 52.02, -69.69) |
| CIE-LCH | lch(31.66, 86.96, 306.74°) |
| OKLab | oklab(43.41% 0.0534 -0.2008) |
| OKLCH | oklch(43.41% 0.208 284.9) |
| XYZ | xyz(12.9727, 6.9345, 47.6590) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.49
Violet Blue
#510AC9
ΔE00 3.99
Blurple
#5539CC
ΔE00 4.07
Blue With A Hint Of Purple
#533CC6
ΔE00 4.19
Indigo Blue
#3A18B1
ΔE00 4.46
Ocean Blue
#4F42B5
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2BBB #98BB2B
analogous
#2B50BB #4E2BBB #962BBB
triadic
#4E2BBB #BB4E2B #2BBB4E
tetradic
#4E2BBB #BB2B50 #98BB2B #2BBB96
square
#4E2BBB #BB2B50 #98BB2B #2BBB96
split-complementary
#4E2BBB #BB962B #50BB2B
monochromatic
#241457 #392089 #4E2BBB #6E4DD6 #977FE2
Accessibility & contrast
On white
8.80
#4E2BBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#4E2BBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2BBB
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2BBB | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#0F5572
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4e2bbb; /* rgb */ color: rgb(78, 43, 187); /* oklch */ color: oklch(43.4% 0.208 284.9);
Tailwind
colors: {
custom: {
50: '#8c69d1',
500: '#4e2bbb',
950: '#000000',
},
}SCSS
$custom: #4e2bbb; $custom-light: #8c69d1; $custom-dark: #000000;
JSON
{
"hex": "#4e2bbb",
"rgb": {
"r": 78,
"g": 43,
"b": 187
},
"hsl": {
"h": 254.583,
"s": 62.609,
"l": 45.098
},
"oklch": {
"l": 0.43414,
"c": 0.20775,
"h": 284.9
},
"luminance": 0.06935
}Semantic roles & 50–950 ramp
primary
#4E2BBB
secondary
#B6CA78
accent
#E642BE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83