#4E269E#4E269E
#4E269E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.179 H 291.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4E269E |
|---|---|
| RGB | rgb(78, 38, 158) |
| HSL | hsl(260, 61%, 38%) |
| HSV | hsv(260, 76%, 62%) |
| CMYK | cmyk(50.6%, 75.9%, 0%, 38%) |
| CIE-LAB | lab(28.05, 46.23, -58.23) |
| CIE-LCH | lch(28.05, 74.35, 308.45°) |
| OKLab | oklab(40.04% 0.0651 -0.1672) |
| OKLCH | oklch(40.04% 0.179 291.3) |
| XYZ | xyz(10.0048, 5.4742, 32.8706) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.34
Rebeccapurple
#663399
ΔE00 5.48
Violet Blue
#510AC9
ΔE00 6.13
Indigo
#4B0082
ΔE00 6.82
Purple Blue
#5D21D0
ΔE00 7.00
Ultramarine
#2000B1
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E269E #769E26
analogous
#263A9E #4E269E #8A269E
triadic
#4E269E #9E4E26 #269E4E
tetradic
#4E269E #9E263A #769E26 #269E8A
square
#4E269E #9E263A #769E26 #269E8A
split-complementary
#4E269E #9E8A26 #3A9E26
monochromatic
#1D0E3B #361A6D #4E269E #6733CE #8C65DA
Accessibility & contrast
On white
10.02
#4E269E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4E269E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E269E
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E269E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E269E | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#334760
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4e269e; /* rgb */ color: rgb(78, 38, 158); /* oklch */ color: oklch(40.0% 0.179 291.3);
Tailwind
colors: {
custom: {
50: '#8865bc',
500: '#4e269e',
950: '#000000',
},
}SCSS
$custom: #4e269e; $custom-light: #8865bc; $custom-dark: #000000;
JSON
{
"hex": "#4e269e",
"rgb": {
"r": 78,
"g": 38,
"b": 158
},
"hsl": {
"h": 260,
"s": 61.224,
"l": 38.431
},
"oklch": {
"l": 0.40044,
"c": 0.17942,
"h": 291.3
},
"luminance": 0.05475
}Semantic roles & 50–950 ramp
primary
#4E269E
secondary
#A0C060
accent
#E443AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81