#4E1D56#4E1D56

#4E1D56 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.0% C 0.109 H 321.8°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#4E1D56
RGBrgb(78, 29, 86)
HSLhsl(292, 50%, 23%)
HSVhsv(292, 66%, 34%)
CMYKcmyk(9.3%, 66.3%, 0%, 66.3%)
CIE-LABlab(20.71, 32.30, -24.26)
CIE-LCHlch(20.71, 40.39, 323.09°)
OKLaboklab(33.03% 0.0858 -0.0675)
OKLCHoklch(33.03% 0.109 321.8)
XYZxyz(5.2608, 3.1706, 9.1372)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D56 #25561D
analogous
#321D56 #4E1D56 #561D41
triadic
#4E1D56 #564E1D #1D564E
tetradic
#4E1D56 #56321D #25561D #1D4156
square
#4E1D56 #56321D #25561D #1D4156
split-complementary
#4E1D56 #41561D #1D5632
monochromatic
#150817 #240E28 #4E1D56 #782C84 #A13CB2

Accessibility & contrast

On white

12.85
#4E1D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E1D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D56
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D56#FFFFFF#000000##FFFFFF
##4E1D561.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112E58
Deuteranopia (green-blind)
#243455
Tritanopia (blue-blind)
#4F2636
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1d56;
/* rgb */ color: rgb(78, 29, 86);
/* oklch */ color: oklch(33.0% 0.109 321.8);
Tailwind
colors: {
  custom: {
    50: '#825d86',
    500: '#4e1d56',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d56;
$custom-light: #825d86;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d56",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 291.579,
    "s": 49.565,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3303,
    "c": 0.10919,
    "h": 321.8
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#4E1D56
secondary
#4E8B44
accent
#D94F62
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1D56

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

Preview Lab → · Contrast checker → · Palette generator →

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