#4E26AF#4E26AF
#4E26AF is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.199 H 287.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4E26AF |
|---|---|
| RGB | rgb(78, 38, 175) |
| HSL | hsl(258, 64%, 42%) |
| HSV | hsv(258, 78%, 69%) |
| CMYK | cmyk(55.4%, 78.3%, 0%, 31.4%) |
| CIE-LAB | lab(29.66, 50.97, -65.83) |
| CIE-LCH | lch(29.66, 83.26, 307.75°) |
| OKLab | oklab(41.67% 0.0603 -0.1894) |
| OKLCH | oklch(41.67% 0.199 287.7) |
| XYZ | xyz(11.5706, 6.1005, 41.1170) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.41
Violet Blue
#510AC9
ΔE00 4.13
Purple Blue
#5D21D0
ΔE00 4.76
Blurple
#5539CC
ΔE00 5.95
Blue With A Hint Of Purple
#533CC6
ΔE00 5.95
True Blue
#010FCC
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E26AF #87AF26
analogous
#2643AF #4E26AF #9326AF
triadic
#4E26AF #AF4E26 #26AF4E
tetradic
#4E26AF #AF2643 #87AF26 #26AF93
square
#4E26AF #AF2643 #87AF26 #26AF93
split-complementary
#4E26AF #AF9326 #43AF26
monochromatic
#21104A #381B7D #4E26AF #6A3DD5 #9070E0
Accessibility & contrast
On white
9.46
#4E26AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#4E26AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E26AF
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E26AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E26AF | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#244E6A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4e26af; /* rgb */ color: rgb(78, 38, 175); /* oklch */ color: oklch(41.7% 0.199 287.7);
Tailwind
colors: {
custom: {
50: '#8b66c8',
500: '#4e26af',
950: '#000000',
},
}SCSS
$custom: #4e26af; $custom-light: #8b66c8; $custom-dark: #000000;
JSON
{
"hex": "#4e26af",
"rgb": {
"r": 78,
"g": 38,
"b": 175
},
"hsl": {
"h": 257.518,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.41669,
"c": 0.19881,
"h": 287.7
},
"luminance": 0.06101
}Semantic roles & 50–950 ramp
primary
#4E26AF
secondary
#ACC76A
accent
#E740B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82