#4E124D#4E124D

#4E124D is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.117 H 328.7°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#4E124D
RGBrgb(78, 18, 77)
HSLhsl(301, 63%, 19%)
HSVhsv(301, 77%, 31%)
CMYKcmyk(0%, 76.9%, 1.3%, 69.4%)
CIE-LABlab(18.31, 35.59, -21.98)
CIE-LCHlch(18.31, 41.83, 328.30°)
OKLaboklab(31.11% 0.0998 -0.0608)
OKLCHoklch(31.11% 0.117 328.7)
XYZxyz(4.6977, 2.5885, 7.2719)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E124D #124E13
analogous
#31124E #4E124D #4E122F
triadic
#4E124D #4D4E12 #124D4E
tetradic
#4E124D #4E3112 #124E13 #122F4E
square
#4E124D #4E3112 #124E13 #122F4E
split-complementary
#4E124D #2F4E12 #124E31
monochromatic
#190619 #1C071C #4E124D #801D7E #B129AF

Accessibility & contrast

On white

13.84
#4E124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4E124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E124D
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E124D#FFFFFF#000000##FFFFFF
##4E124D1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09284F
Deuteranopia (green-blind)
#222F4B
Tritanopia (blue-blind)
#511A2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e124d;
/* rgb */ color: rgb(78, 18, 77);
/* oklch */ color: oklch(31.1% 0.117 328.7);
Tailwind
colors: {
  custom: {
    50: '#82577f',
    500: '#4e124d',
    950: '#000000',
  },
}
SCSS
$custom: #4e124d;
$custom-light: #82577f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e124d",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 301,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31114,
    "c": 0.11683,
    "h": 328.7
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#4E124D
secondary
#358736
accent
#E64542
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E124D

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

Preview Lab → · Contrast checker → · Palette generator →

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