#4E1140#4E1140

#4E1140 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.107 H 338.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#4E1140
RGBrgb(78, 17, 64)
HSLhsl(314, 64%, 19%)
HSVhsv(314, 78%, 31%)
CMYKcmyk(0%, 78.2%, 17.9%, 69.4%)
CIE-LABlab(17.42, 33.67, -14.41)
CIE-LCHlch(17.42, 36.62, 336.83°)
OKLaboklab(30.23% 0.0998 -0.039)
OKLCHoklch(30.23% 0.107 338.6)
XYZxyz(4.2678, 2.3912, 5.0863)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1140 #114E1F
analogous
#3D114E #4E1140 #4E1121
triadic
#4E1140 #404E11 #11404E
tetradic
#4E1140 #4E3D11 #114E1F #11214E
square
#4E1140 #4E3D11 #114E1F #11214E
split-complementary
#4E1140 #214E11 #114E3D
monochromatic
#190515 #1C0617 #4E1140 #801C69 #B22792

Accessibility & contrast

On white

14.21
#4E1140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4E1140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1140
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1140#FFFFFF#000000##FFFFFF
##4E11401.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142541
Deuteranopia (green-blind)
#282E3F
Tritanopia (blue-blind)
#531426
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1140;
/* rgb */ color: rgb(78, 17, 64);
/* oklch */ color: oklch(30.2% 0.107 338.6);
Tailwind
colors: {
  custom: {
    50: '#825675',
    500: '#4e1140',
    950: '#000000',
  },
}
SCSS
$custom: #4e1140;
$custom-light: #825675;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1140",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 313.77,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30225,
    "c": 0.10713,
    "h": 338.6
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#4E1140
secondary
#338747
accent
#E76741
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E1140

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

Preview Lab → · Contrast checker → · Palette generator →

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