#4E268F#4E268F
#4E268F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.162 H 295.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #4E268F |
|---|---|
| RGB | rgb(78, 38, 143) |
| HSL | hsl(263, 58%, 35%) |
| HSV | hsv(263, 73%, 56%) |
| CMYK | cmyk(45.5%, 73.4%, 0%, 43.9%) |
| CIE-LAB | lab(26.70, 42.06, -51.21) |
| CIE-LCH | lch(26.70, 66.27, 309.39°) |
| OKLab | oklab(38.68% 0.0687 -0.1466) |
| OKLCH | oklch(38.68% 0.162 295.1) |
| XYZ | xyz(8.7916, 4.9889, 26.4810) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.23
Indigo
#4B0082
ΔE00 5.72
Indigo Blue
#3A18B1
ΔE00 6.21
Indigo (survey)
#380282
ΔE00 6.66
Darkslateblue
#483D8B
ΔE00 6.82
Royal Purple (survey)
#4B006E
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E268F #678F26
analogous
#26338F #4E268F #82268F
triadic
#4E268F #8F4E26 #268F4E
tetradic
#4E268F #8F2633 #678F26 #268F82
square
#4E268F #8F2633 #678F26 #268F82
split-complementary
#4E268F #8F8226 #338F26
monochromatic
#190C2E #34195F #4E268F #6833BF #895CD4
Accessibility & contrast
On white
10.51
#4E268F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4E268F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E268F
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E268F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E268F | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#3C4158
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4e268f; /* rgb */ color: rgb(78, 38, 143); /* oklch */ color: oklch(38.7% 0.162 295.1);
Tailwind
colors: {
custom: {
50: '#8664b1',
500: '#4e268f',
950: '#000000',
},
}SCSS
$custom: #4e268f; $custom-light: #8664b1; $custom-dark: #000000;
JSON
{
"hex": "#4e268f",
"rgb": {
"r": 78,
"g": 38,
"b": 143
},
"hsl": {
"h": 262.857,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.38683,
"c": 0.16193,
"h": 295.1
},
"luminance": 0.04989
}Semantic roles & 50–950 ramp
primary
#4E268F
secondary
#94B958
accent
#E147A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80