#4C0F45#4C0F45
#4C0F45 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.113 H 333.1°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4C0F45 |
|---|---|
| RGB | rgb(76, 15, 69) |
| HSL | hsl(307, 67%, 18%) |
| HSV | hsv(307, 80%, 30%) |
| CMYK | cmyk(0%, 80.3%, 9.2%, 70.2%) |
| CIE-LAB | lab(17.03, 34.76, -18.53) |
| CIE-LCH | lch(17.03, 39.40, 331.94°) |
| OKLab | oklab(29.96% 0.1004 -0.0508) |
| OKLCH | oklch(29.96% 0.113 333.1) |
| XYZ | xyz(4.2255, 2.3082, 5.8520) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Deep Violet
#490648
ΔE00 2.33
Eggplant Purple
#430541
ΔE00 2.51
Plum Purple
#4E0550
ΔE00 3.55
Grape Purple
#5D1451
ΔE00 3.65
Aubergine
#3D0734
ΔE00 4.00
Plum (survey)
#580F41
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C0F45 #0F4C16
analogous
#340F4C #4C0F45 #4C0F26
triadic
#4C0F45 #454C0F #0F454C
tetradic
#4C0F45 #4C340F #0F4C16 #0F264C
square
#4C0F45 #4C340F #0F4C16 #0F264C
split-complementary
#4C0F45 #264C0F #0F4C34
monochromatic
#1A0517 #1A0517 #4C0F45 #7F1973 #B223A2
Accessibility & contrast
On white
14.37
#4C0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#4C0F45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C0F45
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C0F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C0F45 | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C2446
Deuteranopia (green-blind)
#232D44
Tritanopia (blue-blind)
#501529
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4c0f45; /* rgb */ color: rgb(76, 15, 69); /* oklch */ color: oklch(30.0% 0.113 333.1);
Tailwind
colors: {
custom: {
50: '#815579',
500: '#4c0f45',
950: '#000000',
},
}SCSS
$custom: #4c0f45; $custom-light: #815579; $custom-dark: #000000;
JSON
{
"hex": "#4c0f45",
"rgb": {
"r": 76,
"g": 15,
"b": 69
},
"hsl": {
"h": 306.885,
"s": 67.033,
"l": 17.843
},
"oklch": {
"l": 0.29959,
"c": 0.11251,
"h": 333.1
},
"luminance": 0.02308
}Semantic roles & 50–950 ramp
primary
#4C0F45
secondary
#31863A
accent
#EA523E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B