#4E1C4F#4E1C4F

#4E1C4F is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.104 H 326.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#4E1C4F
RGBrgb(78, 28, 79)
HSLhsl(299, 48%, 21%)
HSVhsv(299, 65%, 31%)
CMYKcmyk(1.3%, 64.6%, 0%, 69%)
CIE-LABlab(20.10, 31.33, -20.52)
CIE-LCHlch(20.10, 37.45, 326.78°)
OKLaboklab(32.45% 0.0867 -0.0566)
OKLCHoklch(32.45% 0.104 326.9)
XYZxyz(4.9683, 3.0150, 7.7159)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C4F #1D4F1C
analogous
#341C4F #4E1C4F #4F1C36
triadic
#4E1C4F #4F4E1C #1C4F4E
tetradic
#4E1C4F #4F341C #1D4F1C #1C364F
square
#4E1C4F #4F341C #1D4F1C #1C364F
split-complementary
#4E1C4F #364F1C #1C4F34
monochromatic
#160817 #210C22 #4E1C4F #7B2C7C #A73CA9

Accessibility & contrast

On white

13.10
#4E1C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C4F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C4F#FFFFFF#000000##FFFFFF
##4E1C4F1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C51
Deuteranopia (green-blind)
#27334E
Tritanopia (blue-blind)
#502232
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1c4f;
/* rgb */ color: rgb(78, 28, 79);
/* oklch */ color: oklch(32.4% 0.104 326.9);
Tailwind
colors: {
  custom: {
    50: '#815c80',
    500: '#4e1c4f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c4f;
$custom-light: #815c80;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c4f",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 298.824,
    "s": 47.664,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32449,
    "c": 0.1036,
    "h": 326.9
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#4E1C4F
secondary
#448542
accent
#D75153
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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