#4D1E4C#4D1E4C

#4D1E4C is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.096 H 328.3°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#4D1E4C
RGBrgb(77, 30, 76)
HSLhsl(301, 44%, 21%)
HSVhsv(301, 61%, 30%)
CMYKcmyk(0%, 61%, 1.3%, 69.8%)
CIE-LABlab(20.16, 29.34, -18.41)
CIE-LCHlch(20.16, 34.64, 327.89°)
OKLaboklab(32.4% 0.0821 -0.0506)
OKLCHoklch(32.4% 0.096 328.3)
XYZxyz(4.8293, 3.0284, 7.1663)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1E4C #1E4D1F
analogous
#361E4D #4D1E4C #4D1E34
triadic
#4D1E4C #4C4D1E #1E4C4D
tetradic
#4D1E4C #4D361E #1E4D1F #1E344D
square
#4D1E4C #4D361E #1E4D1F #1E344D
split-complementary
#4D1E4C #344D1E #1E4D36
monochromatic
#160916 #210D21 #4D1E4C #792F77 #A540A3

Accessibility & contrast

On white

13.08
#4D1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4D1E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1E4C
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1E4C#FFFFFF#000000##FFFFFF
##4D1E4C1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4D
Deuteranopia (green-blind)
#29334B
Tritanopia (blue-blind)
#502331
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d1e4c;
/* rgb */ color: rgb(77, 30, 76);
/* oklch */ color: oklch(32.4% 0.096 328.3);
Tailwind
colors: {
  custom: {
    50: '#805d7e',
    500: '#4d1e4c',
    950: '#000000',
  },
}
SCSS
$custom: #4d1e4c;
$custom-light: #805d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1e4c",
  "rgb": {
    "r": 77,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 301.277,
    "s": 43.925,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32398,
    "c": 0.09641,
    "h": 328.3
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#4D1E4C
secondary
#458246
accent
#D45754
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4D1E4C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4D1E4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva