#4E26A0#4E26A0
#4E26A0 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.182 H 290.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4E26A0 |
|---|---|
| RGB | rgb(78, 38, 160) |
| HSL | hsl(260, 62%, 39%) |
| HSV | hsv(260, 76%, 63%) |
| CMYK | cmyk(51.2%, 76.3%, 0%, 37.3%) |
| CIE-LAB | lab(28.23, 46.79, -59.14) |
| CIE-LCH | lch(28.23, 75.41, 308.35°) |
| OKLab | oklab(40.23% 0.0646 -0.1699) |
| OKLCH | oklch(40.23% 0.182 290.8) |
| XYZ | xyz(10.1783, 5.5436, 33.7846) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.15
Rebeccapurple
#663399
ΔE00 5.57
Violet Blue
#510AC9
ΔE00 5.86
Purple Blue
#5D21D0
ΔE00 6.72
Indigo
#4B0082
ΔE00 7.01
Ultramarine
#2000B1
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E26A0 #78A026
analogous
#263BA0 #4E26A0 #8B26A0
triadic
#4E26A0 #A04E26 #26A04E
tetradic
#4E26A0 #A0263B #78A026 #26A08B
square
#4E26A0 #A0263B #78A026 #26A08B
split-complementary
#4E26A0 #A08B26 #3BA026
monochromatic
#1E0F3D #361A6F #4E26A0 #6734CF #8C66DB
Accessibility & contrast
On white
9.96
#4E26A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4E26A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E26A0
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E26A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E26A0 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#324861
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e26a0; /* rgb */ color: rgb(78, 38, 160); /* oklch */ color: oklch(40.2% 0.182 290.8);
Tailwind
colors: {
custom: {
50: '#8865bd',
500: '#4e26a0',
950: '#000000',
},
}SCSS
$custom: #4e26a0; $custom-light: #8865bd; $custom-dark: #000000;
JSON
{
"hex": "#4e26a0",
"rgb": {
"r": 78,
"g": 38,
"b": 160
},
"hsl": {
"h": 259.672,
"s": 61.616,
"l": 38.824
},
"oklch": {
"l": 0.40231,
"c": 0.18172,
"h": 290.8
},
"luminance": 0.05544
}Semantic roles & 50–950 ramp
primary
#4E26A0
secondary
#A1C061
accent
#E543B0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81