#4E26A1#4E26A1
#4E26A1 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.183 H 290.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4E26A1 |
|---|---|
| RGB | rgb(78, 38, 161) |
| HSL | hsl(260, 62%, 39%) |
| HSV | hsv(260, 76%, 63%) |
| CMYK | cmyk(51.6%, 76.4%, 0%, 36.9%) |
| CIE-LAB | lab(28.32, 47.07, -59.59) |
| CIE-LCH | lch(28.32, 75.94, 308.30°) |
| OKLab | oklab(40.33% 0.0643 -0.1712) |
| OKLCH | oklch(40.33% 0.183 290.6) |
| XYZ | xyz(10.2662, 5.5787, 34.2472) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.06
Rebeccapurple
#663399
ΔE00 5.61
Violet Blue
#510AC9
ΔE00 5.74
Purple Blue
#5D21D0
ΔE00 6.58
Ultramarine
#2000B1
ΔE00 7.02
Indigo
#4B0082
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E26A1 #79A126
analogous
#263CA1 #4E26A1 #8C26A1
triadic
#4E26A1 #A14E26 #26A14E
tetradic
#4E26A1 #A1263C #79A126 #26A18C
square
#4E26A1 #A1263C #79A126 #26A18C
split-complementary
#4E26A1 #A18C26 #3CA126
monochromatic
#1E0F3E #361A6F #4E26A1 #6735CF #8C66DB
Accessibility & contrast
On white
9.93
#4E26A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4E26A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E26A1
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E26A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E26A1 | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#314862
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e26a1; /* rgb */ color: rgb(78, 38, 161); /* oklch */ color: oklch(40.3% 0.183 290.6);
Tailwind
colors: {
custom: {
50: '#8865be',
500: '#4e26a1',
950: '#000000',
},
}SCSS
$custom: #4e26a1; $custom-light: #8865be; $custom-dark: #000000;
JSON
{
"hex": "#4e26a1",
"rgb": {
"r": 78,
"g": 38,
"b": 161
},
"hsl": {
"h": 259.512,
"s": 61.809,
"l": 39.02
},
"oklch": {
"l": 0.40325,
"c": 0.18287,
"h": 290.6
},
"luminance": 0.05579
}Semantic roles & 50–950 ramp
primary
#4E26A1
secondary
#A2C162
accent
#E543B0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81