#4C0F46#4C0F46
#4C0F46 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.113 H 332.4°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4C0F46 |
|---|---|
| RGB | rgb(76, 15, 70) |
| HSL | hsl(306, 67%, 18%) |
| HSV | hsv(306, 80%, 30%) |
| CMYK | cmyk(0%, 80.3%, 7.9%, 70.2%) |
| CIE-LAB | lab(17.09, 34.94, -19.13) |
| CIE-LCH | lch(17.09, 39.84, 331.30°) |
| OKLab | oklab(30.02% 0.1004 -0.0526) |
| OKLCH | oklch(30.02% 0.113 332.4) |
| XYZ | xyz(4.2568, 2.3207, 6.0169) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Deep Violet
#490648
ΔE00 2.10
Eggplant Purple
#430541
ΔE00 2.41
Plum Purple
#4E0550
ΔE00 3.28
Grape Purple
#5D1451
ΔE00 3.61
Aubergine
#3D0734
ΔE00 4.18
Plum (survey)
#580F41
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C0F46 #0F4C15
analogous
#330F4C #4C0F46 #4C0F27
triadic
#4C0F46 #464C0F #0F464C
tetradic
#4C0F46 #4C330F #0F4C15 #0F274C
square
#4C0F46 #4C330F #0F4C15 #0F274C
split-complementary
#4C0F46 #274C0F #0F4C33
monochromatic
#1A0518 #1A0518 #4C0F46 #7F1975 #B223A4
Accessibility & contrast
On white
14.34
#4C0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#4C0F46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C0F46
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C0F46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C0F46 | 1.00 | 14.34 | 1.46 | 14.34 |
| #FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B2548
Deuteranopia (green-blind)
#232D45
Tritanopia (blue-blind)
#501629
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4c0f46; /* rgb */ color: rgb(76, 15, 70); /* oklch */ color: oklch(30.0% 0.113 332.4);
Tailwind
colors: {
custom: {
50: '#815579',
500: '#4c0f46',
950: '#000000',
},
}SCSS
$custom: #4c0f46; $custom-light: #815579; $custom-dark: #000000;
JSON
{
"hex": "#4c0f46",
"rgb": {
"r": 76,
"g": 15,
"b": 70
},
"hsl": {
"h": 305.902,
"s": 67.033,
"l": 17.843
},
"oklch": {
"l": 0.30021,
"c": 0.11337,
"h": 332.4
},
"luminance": 0.0232
}Semantic roles & 50–950 ramp
primary
#4C0F46
secondary
#318639
accent
#EA4F3E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B