#4C2E4E#4C2E4E
#4C2E4E is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.1% C 0.067 H 324.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2E4E |
|---|---|
| RGB | rgb(76, 46, 78) |
| HSL | hsl(296, 26%, 24%) |
| HSV | hsv(296, 41%, 31%) |
| CMYK | cmyk(2.6%, 41%, 0%, 69.4%) |
| CIE-LAB | lab(23.81, 19.83, -14.09) |
| CIE-LCH | lch(23.81, 24.33, 324.60°) |
| OKLab | oklab(35.11% 0.0543 -0.0385) |
| OKLCH | oklch(35.11% 0.067 324.7) |
| XYZ | xyz(5.3325, 4.0408, 7.7053) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Grape
#6C3461
ΔE00 7.61
Grape Purple
#5D1451
ΔE00 8.59
Plum (survey)
#580F41
ΔE00 9.09
Aubergine
#3D0734
ΔE00 9.70
Eggplant
#380835
ΔE00 9.71
Deep Violet
#490648
ΔE00 9.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2E4E #304E2E
analogous
#3C2E4E #4C2E4E #4E2E40
triadic
#4C2E4E #4E4C2E #2E4E4C
tetradic
#4C2E4E #4E3C2E #304E2E #2E404E
square
#4C2E4E #4E3C2E #304E2E #2E404E
split-complementary
#4C2E4E #404E2E #2E4E3C
monochromatic
#130B13 #261728 #4C2E4E #724574 #975B9B
Accessibility & contrast
On white
11.61
#4C2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#4C2E4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2E4E
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2E4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2E4E | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#333A4D
Tritanopia (blue-blind)
#4D313A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #4c2e4e; /* rgb */ color: rgb(76, 46, 78); /* oklch */ color: oklch(35.1% 0.067 324.7);
Tailwind
colors: {
custom: {
50: '#7f677f',
500: '#4c2e4e',
950: '#000000',
},
}SCSS
$custom: #4c2e4e; $custom-light: #7f677f; $custom-dark: #000000;
JSON
{
"hex": "#4c2e4e",
"rgb": {
"r": 76,
"g": 46,
"b": 78
},
"hsl": {
"h": 296.25,
"s": 25.806,
"l": 24.314
},
"oklch": {
"l": 0.35113,
"c": 0.06651,
"h": 324.7
},
"luminance": 0.04041
}Semantic roles & 50–950 ramp
primary
#4C2E4E
secondary
#5B7F58
accent
#C2666B
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C