#4C0C4D#4C0C4D
#4C0C4D is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.2% C 0.123 H 327.4°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #4C0C4D |
|---|---|
| RGB | rgb(76, 12, 77) |
| HSL | hsl(299, 73%, 17%) |
| HSV | hsv(299, 84%, 30%) |
| CMYK | cmyk(1.3%, 84.4%, 0%, 69.8%) |
| CIE-LAB | lab(17.16, 37.31, -23.84) |
| CIE-LCH | lch(17.16, 44.27, 327.42°) |
| OKLab | oklab(30.21% 0.1036 -0.0662) |
| OKLCH | oklch(30.21% 0.123 327.4) |
| XYZ | xyz(4.4515, 2.3356, 7.2361) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Deep Violet
#490648
ΔE00 1.17
Plum Purple
#4E0550
ΔE00 1.26
Eggplant Purple
#430541
ΔE00 2.61
Grape Purple
#5D1451
ΔE00 4.14
Deep Purple
#36013F
ΔE00 4.84
Dark Purple
#35063E
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C0C4D #0D4D0C
analogous
#2C0C4D #4C0C4D #4D0C2D
triadic
#4C0C4D #4D4C0C #0C4D4C
tetradic
#4C0C4D #4D2C0C #0D4D0C #0C2D4D
square
#4C0C4D #4D2C0C #0D4D0C #0C2D4D
split-complementary
#4C0C4D #2D4D0C #0C4D2C
monochromatic
#1A041A #1A041A #4C0C4D #801482 #B51DB7
Accessibility & contrast
On white
14.31
#4C0C4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#4C0C4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C0C4D
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C0C4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C0C4D | 1.00 | 14.31 | 1.47 | 14.31 |
| #FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#1E2D4B
Tritanopia (blue-blind)
#4F172C
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4c0c4d; /* rgb */ color: rgb(76, 12, 77); /* oklch */ color: oklch(30.2% 0.123 327.4);
Tailwind
colors: {
custom: {
50: '#81547f',
500: '#4c0c4d',
950: '#000000',
},
}SCSS
$custom: #4c0c4d; $custom-light: #81547f; $custom-dark: #000000;
JSON
{
"hex": "#4c0c4d",
"rgb": {
"r": 76,
"g": 12,
"b": 77
},
"hsl": {
"h": 299.077,
"s": 73.034,
"l": 17.451
},
"oklch": {
"l": 0.30215,
"c": 0.12292,
"h": 327.4
},
"luminance": 0.02335
}Semantic roles & 50–950 ramp
primary
#4C0C4D
secondary
#2E892C
accent
#F0383B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C