#4D0F4D#4D0F4D
#4D0F4D is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.6% C 0.120 H 328.0°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4D0F4D |
|---|---|
| RGB | rgb(77, 15, 77) |
| HSL | hsl(300, 67%, 18%) |
| HSV | hsv(300, 81%, 30%) |
| CMYK | cmyk(0%, 80.5%, 0%, 69.8%) |
| CIE-LAB | lab(17.72, 36.50, -22.94) |
| CIE-LCH | lch(17.72, 43.11, 327.85°) |
| OKLab | oklab(30.65% 0.1018 -0.0636) |
| OKLCH | oklch(30.65% 0.12 328) |
| XYZ | xyz(4.5709, 2.4556, 7.2530) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Deep Violet
#490648
ΔE00 1.51
Plum Purple
#4E0550
ΔE00 1.73
Eggplant Purple
#430541
ΔE00 2.78
Grape Purple
#5D1451
ΔE00 3.73
Dark Purple
#35063E
ΔE00 5.18
Deep Purple
#36013F
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D0F4D #0F4D0F
analogous
#2E0F4D #4D0F4D #4D0F2E
triadic
#4D0F4D #4D4D0F #0F4D4D
tetradic
#4D0F4D #4D2E0F #0F4D0F #0F2E4D
square
#4D0F4D #4D2E0F #0F4D0F #0F2E4D
split-complementary
#4D0F4D #2E4D0F #0F4D2E
monochromatic
#1A051A #1A051A #4D0F4D #801980 #B323B3
Accessibility & contrast
On white
14.08
#4D0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#4D0F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D0F4D
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D0F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D0F4D | 1.00 | 14.08 | 1.49 | 14.08 |
| #FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#04264F
Deuteranopia (green-blind)
#202E4B
Tritanopia (blue-blind)
#50192D
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #4d0f4d; /* rgb */ color: rgb(77, 15, 77); /* oklch */ color: oklch(30.6% 0.120 328.0);
Tailwind
colors: {
custom: {
50: '#81557f',
500: '#4d0f4d',
950: '#000000',
},
}SCSS
$custom: #4d0f4d; $custom-light: #81557f; $custom-dark: #000000;
JSON
{
"hex": "#4d0f4d",
"rgb": {
"r": 77,
"g": 15,
"b": 77
},
"hsl": {
"h": 300,
"s": 67.391,
"l": 18.039
},
"oklch": {
"l": 0.3065,
"c": 0.12005,
"h": 328
},
"luminance": 0.02455
}Semantic roles & 50–950 ramp
primary
#4D0F4D
secondary
#318731
accent
#EA3E3E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C