#4E269A#4E269A
#4E269A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.175 H 292.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4E269A |
|---|---|
| RGB | rgb(78, 38, 154) |
| HSL | hsl(261, 60%, 38%) |
| HSV | hsv(261, 75%, 60%) |
| CMYK | cmyk(49.4%, 75.3%, 0%, 39.6%) |
| CIE-LAB | lab(27.68, 45.12, -56.39) |
| CIE-LCH | lch(27.68, 72.21, 308.66°) |
| OKLab | oklab(39.67% 0.0661 -0.1618) |
| OKLCH | oklch(39.67% 0.175 292.2) |
| XYZ | xyz(9.6661, 5.3387, 31.0867) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.77
Rebeccapurple
#663399
ΔE00 5.33
Indigo
#4B0082
ΔE00 6.46
Violet Blue
#510AC9
ΔE00 6.67
Indigo (survey)
#380282
ΔE00 7.14
Darkslateblue
#483D8B
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E269A #729A26
analogous
#26389A #4E269A #88269A
triadic
#4E269A #9A4E26 #269A4E
tetradic
#4E269A #9A2638 #729A26 #269A88
square
#4E269A #9A2638 #729A26 #269A88
split-complementary
#4E269A #9A8826 #389A26
monochromatic
#1C0E38 #351A69 #4E269A #6732CB #8B62D8
Accessibility & contrast
On white
10.16
#4E269A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4E269A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E269A
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E269A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E269A | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#36455E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4e269a; /* rgb */ color: rgb(78, 38, 154); /* oklch */ color: oklch(39.7% 0.175 292.2);
Tailwind
colors: {
custom: {
50: '#8765b9',
500: '#4e269a',
950: '#000000',
},
}SCSS
$custom: #4e269a; $custom-light: #8765b9; $custom-dark: #000000;
JSON
{
"hex": "#4e269a",
"rgb": {
"r": 78,
"g": 38,
"b": 154
},
"hsl": {
"h": 260.69,
"s": 60.417,
"l": 37.647
},
"oklch": {
"l": 0.39674,
"c": 0.17479,
"h": 292.2
},
"luminance": 0.05339
}Semantic roles & 50–950 ramp
primary
#4E269A
secondary
#9DBE5E
accent
#E444AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81