#4E1F49#4E1F49

#4E1F49 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.5% C 0.092 H 331.7°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#4E1F49
RGBrgb(78, 31, 73)
HSLhsl(306, 43%, 21%)
HSVhsv(306, 60%, 31%)
CMYKcmyk(0%, 60.3%, 6.4%, 69.4%)
CIE-LABlab(20.37, 28.51, -16.03)
CIE-LCHlch(20.37, 32.71, 330.65°)
OKLaboklab(32.53% 0.0813 -0.0438)
OKLCHoklch(32.53% 0.092 331.7)
XYZxyz(4.8345, 3.0810, 6.6421)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F49 #1F4E24
analogous
#3C1F4E #4E1F49 #4E1F32
triadic
#4E1F49 #494E1F #1F494E
tetradic
#4E1F49 #4E3C1F #1F4E24 #1F324E
square
#4E1F49 #4E3C1F #1F4E24 #1F324E
split-complementary
#4E1F49 #324E1F #1F4E3C
monochromatic
#160914 #220E20 #4E1F49 #7A3072 #A6429B

Accessibility & contrast

On white

12.99
#4E1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E1F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F49
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F49#FFFFFF#000000##FFFFFF
##4E1F491.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2D4A
Deuteranopia (green-blind)
#2B3348
Tritanopia (blue-blind)
#512330
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1f49;
/* rgb */ color: rgb(78, 31, 73);
/* oklch */ color: oklch(32.5% 0.092 331.7);
Tailwind
colors: {
  custom: {
    50: '#815d7c',
    500: '#4e1f49',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f49;
$custom-light: #815d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f49",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 306.383,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32533,
    "c": 0.09235,
    "h": 331.7
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#4E1F49
secondary
#46834D
accent
#D36255
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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