#4E1D46#4E1D46

#4E1D46 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.093 H 334.3°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#4E1D46
RGBrgb(78, 29, 70)
HSLhsl(310, 46%, 21%)
HSVhsv(310, 63%, 31%)
CMYKcmyk(0%, 62.8%, 10.3%, 69.4%)
CIE-LABlab(19.81, 29.01, -14.85)
CIE-LCHlch(19.81, 32.59, 332.89°)
OKLaboklab(32.07% 0.0839 -0.0404)
OKLCHoklch(32.07% 0.093 334.3)
XYZxyz(4.6868, 2.9410, 6.1140)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D46 #1D4E25
analogous
#3D1D4E #4E1D46 #4E1D2D
triadic
#4E1D46 #464E1D #1D464E
tetradic
#4E1D46 #4E3D1D #1D4E25 #1D2D4E
square
#4E1D46 #4E3D1D #1D4E25 #1D2D4E
split-complementary
#4E1D46 #2D4E1D #1D4E3D
monochromatic
#160814 #210C1E #4E1D46 #7B2E6E #A73E96

Accessibility & contrast

On white

13.22
#4E1D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1D46
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D46#FFFFFF#000000##FFFFFF
##4E1D461.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2B47
Deuteranopia (green-blind)
#2B3345
Tritanopia (blue-blind)
#52202E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1d46;
/* rgb */ color: rgb(78, 29, 70);
/* oklch */ color: oklch(32.1% 0.093 334.3);
Tailwind
colors: {
  custom: {
    50: '#815c79',
    500: '#4e1d46',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d46;
$custom-light: #815c79;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d46",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 70
  },
  "hsl": {
    "h": 309.796,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3207,
    "c": 0.0931,
    "h": 334.3
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#4E1D46
secondary
#44834E
accent
#D56852
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1D46

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

Preview Lab → · Contrast checker → · Palette generator →

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