#4E1C6F#4E1C6F
#4E1C6F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.138 H 308.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4E1C6F |
|---|---|
| RGB | rgb(78, 28, 111) |
| HSL | hsl(276, 60%, 27%) |
| HSV | hsv(276, 75%, 44%) |
| CMYK | cmyk(29.7%, 74.8%, 0%, 56.5%) |
| CIE-LAB | lab(22.30, 38.62, -38.16) |
| CIE-LCH | lch(22.30, 54.29, 315.35°) |
| OKLab | oklab(34.73% 0.0855 -0.1082) |
| OKLCH | oklch(34.73% 0.138 308.3) |
| XYZ | xyz(6.4258, 3.5980, 15.3918) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.95
Indigo
#4B0082
ΔE00 5.40
Plum Purple
#4E0550
ΔE00 7.20
Indigo (survey)
#380282
ΔE00 7.22
Darkish Purple
#751973
ΔE00 8.34
Deep Violet
#490648
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E1C6F #3D6F1C
analogous
#251C6F #4E1C6F #6F1C66
triadic
#4E1C6F #6F4E1C #1C6F4E
tetradic
#4E1C6F #6F251C #3D6F1C #1C666F
square
#4E1C6F #6F251C #3D6F1C #1C666F
split-complementary
#4E1C6F #666F1C #1C6F25
monochromatic
#110618 #2C103E #4E1C6F #7028A0 #9238CD
Accessibility & contrast
On white
12.21
#4E1C6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#4E1C6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E1C6F
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E1C6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E1C6F | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#06366D
Tritanopia (blue-blind)
#492F43
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #4e1c6f; /* rgb */ color: rgb(78, 28, 111); /* oklch */ color: oklch(34.7% 0.138 308.3);
Tailwind
colors: {
custom: {
50: '#835d99',
500: '#4e1c6f',
950: '#000000',
},
}SCSS
$custom: #4e1c6f; $custom-light: #835d99; $custom-dark: #000000;
JSON
{
"hex": "#4e1c6f",
"rgb": {
"r": 78,
"g": 28,
"b": 111
},
"hsl": {
"h": 276.145,
"s": 59.712,
"l": 27.255
},
"oklch": {
"l": 0.34728,
"c": 0.1379,
"h": 308.3
},
"luminance": 0.03598
}Semantic roles & 50–950 ramp
primary
#4E1C6F
secondary
#6AA443
accent
#E34584
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E