#4E1C4C#4E1C4C

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

Color values

HEX#4E1C4C
RGBrgb(78, 28, 76)
HSLhsl(302, 47%, 21%)
HSVhsv(302, 64%, 31%)
CMYKcmyk(0%, 64.1%, 2.6%, 69.4%)
CIE-LABlab(19.93, 30.72, -18.75)
CIE-LCHlch(19.93, 35.99, 328.60°)
OKLaboklab(32.27% 0.0864 -0.0515)
OKLCHoklch(32.27% 0.101 329.2)
XYZxyz(4.8616, 2.9723, 7.1537)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C4C #1C4E1E
analogous
#371C4E #4E1C4C #4E1C33
triadic
#4E1C4C #4C4E1C #1C4C4E
tetradic
#4E1C4C #4E371C #1C4E1E #1C334E
square
#4E1C4C #4E371C #1C4E1E #1C334E
split-complementary
#4E1C4C #334E1C #1C4E37
monochromatic
#170816 #210C20 #4E1C4C #7B2C78 #A83CA4

Accessibility & contrast

On white

13.17
#4E1C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1C4C
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C4C#FFFFFF#000000##FFFFFF
##4E1C4C1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182C4D
Deuteranopia (green-blind)
#28334B
Tritanopia (blue-blind)
#512131
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1c4c;
/* rgb */ color: rgb(78, 28, 76);
/* oklch */ color: oklch(32.3% 0.101 329.2);
Tailwind
colors: {
  custom: {
    50: '#815c7e',
    500: '#4e1c4c',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c4c;
$custom-light: #815c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c4c",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 302.4,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32268,
    "c": 0.1006,
    "h": 329.2
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#4E1C4C
secondary
#428445
accent
#D75651
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E1C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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