#4E1D4E#4E1D4E

#4E1D4E is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.101 H 327.6°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#4E1D4E
RGBrgb(78, 29, 78)
HSLhsl(300, 46%, 21%)
HSVhsv(300, 63%, 31%)
CMYKcmyk(0%, 62.8%, 0%, 69.4%)
CIE-LABlab(20.24, 30.60, -19.63)
CIE-LCHlch(20.24, 36.35, 327.32°)
OKLaboklab(32.53% 0.0852 -0.0541)
OKLCHoklch(32.53% 0.101 327.6)
XYZxyz(4.9563, 3.0488, 7.5337)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D4E #1D4E1D
analogous
#351D4E #4E1D4E #4E1D35
triadic
#4E1D4E #4E4E1D #1D4E4E
tetradic
#4E1D4E #4E351D #1D4E1D #1D354E
square
#4E1D4E #4E351D #1D4E1D #1D354E
split-complementary
#4E1D4E #354E1D #1D4E35
monochromatic
#160816 #210C21 #4E1D4E #7B2E7B #A73EA7

Accessibility & contrast

On white

13.05
#4E1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1D4E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D4E#FFFFFF#000000##FFFFFF
##4E1D4E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#28334D
Tritanopia (blue-blind)
#502332
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1d4e;
/* rgb */ color: rgb(78, 29, 78);
/* oklch */ color: oklch(32.5% 0.101 327.6);
Tailwind
colors: {
  custom: {
    50: '#815c80',
    500: '#4e1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d4e;
$custom-light: #815c80;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d4e",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32528,
    "c": 0.10088,
    "h": 327.6
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#4E1D4E
secondary
#448344
accent
#D55252
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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