#4E176E#4E176E
#4E176E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.143 H 309.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4E176E |
|---|---|
| RGB | rgb(78, 23, 110) |
| HSL | hsl(278, 65%, 26%) |
| HSV | hsv(278, 79%, 43%) |
| CMYK | cmyk(29.1%, 79.1%, 0%, 56.9%) |
| CIE-LAB | lab(21.43, 40.63, -38.92) |
| CIE-LCH | lch(21.43, 56.26, 316.23°) |
| OKLab | oklab(34.09% 0.091 -0.1104) |
| OKLCH | oklch(34.09% 0.143 309.5) |
| XYZ | xyz(6.2622, 3.3584, 15.0672) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.05
Indigo
#4B0082
ΔE00 4.90
Plum Purple
#4E0550
ΔE00 6.75
Indigo (survey)
#380282
ΔE00 6.84
Deep Violet
#490648
ΔE00 8.15
Darkish Purple
#751973
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E176E #376E17
analogous
#22176E #4E176E #6E1762
triadic
#4E176E #6E4E17 #176E4E
tetradic
#4E176E #6E2217 #376E17 #17626E
square
#4E176E #6E2217 #376E17 #17626E
split-complementary
#4E176E #626E17 #176E22
monochromatic
#120519 #2A0C3B #4E176E #7222A1 #962CD3
Accessibility & contrast
On white
12.56
#4E176E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#4E176E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E176E
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E176E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E176E | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#492C42
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #4e176e; /* rgb */ color: rgb(78, 23, 110); /* oklch */ color: oklch(34.1% 0.143 309.5);
Tailwind
colors: {
custom: {
50: '#835b98',
500: '#4e176e',
950: '#000000',
},
}SCSS
$custom: #4e176e; $custom-light: #835b98; $custom-dark: #000000;
JSON
{
"hex": "#4e176e",
"rgb": {
"r": 78,
"g": 23,
"b": 110
},
"hsl": {
"h": 277.931,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.34087,
"c": 0.14304,
"h": 309.5
},
"luminance": 0.03358
}Semantic roles & 50–950 ramp
primary
#4E176E
secondary
#63A43D
accent
#E83F7E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E