#4E1A4D#4E1A4D

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

Color values

HEX#4E1A4D
RGBrgb(78, 26, 77)
HSLhsl(301, 50%, 20%)
HSVhsv(301, 67%, 31%)
CMYKcmyk(0%, 66.7%, 1.3%, 69.4%)
CIE-LABlab(19.62, 31.94, -19.93)
CIE-LCHlch(19.62, 37.65, 328.05°)
OKLaboklab(32.06% 0.0894 -0.0549)
OKLCHoklch(32.06% 0.105 328.5)
XYZxyz(4.8508, 2.8946, 7.3230)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A4D #1A4E1B
analogous
#351A4E #4E1A4D #4E1A33
triadic
#4E1A4D #4D4E1A #1A4D4E
tetradic
#4E1A4D #4E351A #1A4E1B #1A334E
square
#4E1A4D #4E351A #1A4E1B #1A334E
split-complementary
#4E1A4D #334E1A #1A4E35
monochromatic
#170817 #200B20 #4E1A4D #7C297A #AA39A8

Accessibility & contrast

On white

13.30
#4E1A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A4D
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A4D#FFFFFF#000000##FFFFFF
##4E1A4D1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4F
Deuteranopia (green-blind)
#27324C
Tritanopia (blue-blind)
#512030
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1a4d;
/* rgb */ color: rgb(78, 26, 77);
/* oklch */ color: oklch(32.1% 0.105 328.5);
Tailwind
colors: {
  custom: {
    50: '#825b7f',
    500: '#4e1a4d',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a4d;
$custom-light: #825b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a4d",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 301.154,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32056,
    "c": 0.10494,
    "h": 328.5
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#4E1A4D
secondary
#408441
accent
#DA514E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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