#4E1D48#4E1D48

#4E1D48 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.2% C 0.095 H 332.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#4E1D48
RGBrgb(78, 29, 72)
HSLhsl(307, 46%, 21%)
HSVhsv(307, 63%, 31%)
CMYKcmyk(0%, 62.8%, 7.7%, 69.4%)
CIE-LABlab(19.91, 29.40, -16.06)
CIE-LCHlch(19.91, 33.50, 331.36°)
OKLaboklab(32.18% 0.0843 -0.0438)
OKLCHoklch(32.18% 0.095 332.5)
XYZxyz(4.7509, 2.9666, 6.4520)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D48 #1D4E23
analogous
#3B1D4E #4E1D48 #4E1D2F
triadic
#4E1D48 #484E1D #1D484E
tetradic
#4E1D48 #4E3B1D #1D4E23 #1D2F4E
square
#4E1D48 #4E3B1D #1D4E23 #1D2F4E
split-complementary
#4E1D48 #2F4E1D #1D4E3B
monochromatic
#160815 #210C1F #4E1D48 #7B2E71 #A73E9A

Accessibility & contrast

On white

13.18
#4E1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E1D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D48
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D48#FFFFFF#000000##FFFFFF
##4E1D481.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2C49
Deuteranopia (green-blind)
#2B3347
Tritanopia (blue-blind)
#51212F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1d48;
/* rgb */ color: rgb(78, 29, 72);
/* oklch */ color: oklch(32.2% 0.095 332.5);
Tailwind
colors: {
  custom: {
    50: '#815c7b',
    500: '#4e1d48',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d48;
$custom-light: #815c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d48",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 307.347,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3218,
    "c": 0.09498,
    "h": 332.5
  },
  "luminance": 0.02966
}

Semantic roles & 50–950 ramp

primary
#4E1D48
secondary
#44834B
accent
#D56252
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1D48

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

Preview Lab → · Contrast checker → · Palette generator →

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