#4E1B44#4E1B44

#4E1B44 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.095 H 336.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#4E1B44
RGBrgb(78, 27, 68)
HSLhsl(312, 49%, 21%)
HSVhsv(312, 65%, 31%)
CMYKcmyk(0%, 65.4%, 12.8%, 69.4%)
CIE-LABlab(19.31, 29.70, -14.24)
CIE-LCHlch(19.31, 32.94, 334.38°)
OKLaboklab(31.67% 0.0866 -0.0386)
OKLCHoklch(31.67% 0.095 336)
XYZxyz(4.5772, 2.8213, 5.7712)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B44 #1B4E25
analogous
#3E1B4E #4E1B44 #4E1B2A
triadic
#4E1B44 #444E1B #1B444E
tetradic
#4E1B44 #4E3E1B #1B4E25 #1B2A4E
square
#4E1B44 #4E3E1B #1B4E25 #1B2A4E
split-complementary
#4E1B44 #2A4E1B #1B4E3E
monochromatic
#170814 #210B1C #4E1B44 #7B2B6C #A93A93

Accessibility & contrast

On white

13.43
#4E1B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4E1B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B44
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B44#FFFFFF#000000##FFFFFF
##4E1B441.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2A45
Deuteranopia (green-blind)
#2B3243
Tritanopia (blue-blind)
#521E2C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1b44;
/* rgb */ color: rgb(78, 27, 68);
/* oklch */ color: oklch(31.7% 0.095 336.0);
Tailwind
colors: {
  custom: {
    50: '#815b78',
    500: '#4e1b44',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b44;
$custom-light: #815b78;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b44",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 68
  },
  "hsl": {
    "h": 311.765,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31675,
    "c": 0.09482,
    "h": 336
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#4E1B44
secondary
#41844E
accent
#D86A50
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1B44

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

Preview Lab → · Contrast checker → · Palette generator →

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