#4E124A#4E124A

#4E124A is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.9% C 0.114 H 330.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#4E124A
RGBrgb(78, 18, 74)
HSLhsl(304, 63%, 19%)
HSVhsv(304, 77%, 31%)
CMYKcmyk(0%, 76.9%, 5.1%, 69.4%)
CIE-LABlab(18.13, 35.02, -20.22)
CIE-LCHlch(18.13, 40.44, 330.00°)
OKLaboklab(30.92% 0.0997 -0.0557)
OKLCHoklch(30.92% 0.114 330.8)
XYZxyz(4.5942, 2.5471, 6.7269)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E124A #124E16
analogous
#34124E #4E124A #4E122C
triadic
#4E124A #4A4E12 #124A4E
tetradic
#4E124A #4E3412 #124E16 #122C4E
square
#4E124A #4E3412 #124E16 #122C4E
split-complementary
#4E124A #2C4E12 #124E34
monochromatic
#190618 #1C071B #4E124A #801D79 #B129A8

Accessibility & contrast

On white

13.91
#4E124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E124A
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E124A#FFFFFF#000000##FFFFFF
##4E124A1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D274C
Deuteranopia (green-blind)
#242F48
Tritanopia (blue-blind)
#51192C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e124a;
/* rgb */ color: rgb(78, 18, 74);
/* oklch */ color: oklch(30.9% 0.114 330.8);
Tailwind
colors: {
  custom: {
    50: '#82577d',
    500: '#4e124a',
    950: '#000000',
  },
}
SCSS
$custom: #4e124a;
$custom-light: #82577d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e124a",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 304,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30923,
    "c": 0.11415,
    "h": 330.8
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#4E124A
secondary
#35873A
accent
#E64D42
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E124A

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

Preview Lab → · Contrast checker → · Palette generator →

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