#4E1D47#4E1D47

#4E1D47 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.1% C 0.094 H 333.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#4E1D47
RGBrgb(78, 29, 71)
HSLhsl(309, 46%, 21%)
HSVhsv(309, 63%, 31%)
CMYKcmyk(0%, 62.8%, 9%, 69.4%)
CIE-LABlab(19.86, 29.21, -15.46)
CIE-LCHlch(19.86, 33.04, 332.11°)
OKLaboklab(32.13% 0.0841 -0.0421)
OKLCHoklch(32.13% 0.094 333.4)
XYZxyz(4.7186, 2.9537, 6.2816)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D47 #1D4E24
analogous
#3C1D4E #4E1D47 #4E1D2E
triadic
#4E1D47 #474E1D #1D474E
tetradic
#4E1D47 #4E3C1D #1D4E24 #1D2E4E
square
#4E1D47 #4E3C1D #1D4E24 #1D2E4E
split-complementary
#4E1D47 #2E4E1D #1D4E3C
monochromatic
#160814 #210C1E #4E1D47 #7B2E70 #A73E98

Accessibility & contrast

On white

13.20
#4E1D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1D47
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D47#FFFFFF#000000##FFFFFF
##4E1D471.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2B48
Deuteranopia (green-blind)
#2B3346
Tritanopia (blue-blind)
#52202F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1d47;
/* rgb */ color: rgb(78, 29, 71);
/* oklch */ color: oklch(32.1% 0.094 333.4);
Tailwind
colors: {
  custom: {
    50: '#815c7a',
    500: '#4e1d47',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d47;
$custom-light: #815c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d47",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 308.571,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32125,
    "c": 0.09404,
    "h": 333.4
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#4E1D47
secondary
#44834D
accent
#D56552
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1D47

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

Preview Lab → · Contrast checker → · Palette generator →

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