#4E1C4B#4E1C4B

#4E1C4B is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.2% C 0.100 H 330.0°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#4E1C4B
RGBrgb(78, 28, 75)
HSLhsl(304, 47%, 21%)
HSVhsv(304, 64%, 31%)
CMYKcmyk(0%, 64.1%, 3.8%, 69.4%)
CIE-LABlab(19.88, 30.52, -18.16)
CIE-LCHlch(19.88, 35.51, 329.25°)
OKLaboklab(32.21% 0.0863 -0.0498)
OKLCHoklch(32.21% 0.1 330)
XYZxyz(4.8271, 2.9585, 6.9721)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C4B #1C4E1F
analogous
#381C4E #4E1C4B #4E1C32
triadic
#4E1C4B #4B4E1C #1C4B4E
tetradic
#4E1C4B #4E381C #1C4E1F #1C324E
square
#4E1C4B #4E381C #1C4E1F #1C324E
split-complementary
#4E1C4B #324E1C #1C4E38
monochromatic
#170816 #210C20 #4E1C4B #7B2C76 #A83CA2

Accessibility & contrast

On white

13.19
#4E1C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1C4B
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C4B#FFFFFF#000000##FFFFFF
##4E1C4B1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182C4C
Deuteranopia (green-blind)
#29324A
Tritanopia (blue-blind)
#512130
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1c4b;
/* rgb */ color: rgb(78, 28, 75);
/* oklch */ color: oklch(32.2% 0.100 330.0);
Tailwind
colors: {
  custom: {
    50: '#815c7d',
    500: '#4e1c4b',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c4b;
$custom-light: #815c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c4b",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 75
  },
  "hsl": {
    "h": 303.6,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32209,
    "c": 0.09963,
    "h": 330
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#4E1C4B
secondary
#428446
accent
#D75951
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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