#4E124B#4E124B

#4E124B is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.115 H 330.1°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#4E124B
RGBrgb(78, 18, 75)
HSLhsl(303, 63%, 19%)
HSVhsv(303, 77%, 31%)
CMYKcmyk(0%, 76.9%, 3.8%, 69.4%)
CIE-LABlab(18.19, 35.21, -20.81)
CIE-LCHlch(18.19, 40.90, 329.42°)
OKLaboklab(30.99% 0.0997 -0.0574)
OKLCHoklch(30.99% 0.115 330.1)
XYZxyz(4.6282, 2.5607, 6.9057)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E124B #124E15
analogous
#33124E #4E124B #4E122D
triadic
#4E124B #4B4E12 #124B4E
tetradic
#4E124B #4E3312 #124E15 #122D4E
square
#4E124B #4E3312 #124E15 #122D4E
split-complementary
#4E124B #2D4E12 #124E33
monochromatic
#190618 #1C071B #4E124B #801D7B #B129AB

Accessibility & contrast

On white

13.89
#4E124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E124B
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E124B#FFFFFF#000000##FFFFFF
##4E124B1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C274D
Deuteranopia (green-blind)
#232F49
Tritanopia (blue-blind)
#511A2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e124b;
/* rgb */ color: rgb(78, 18, 75);
/* oklch */ color: oklch(31.0% 0.115 330.1);
Tailwind
colors: {
  custom: {
    50: '#82577d',
    500: '#4e124b',
    950: '#000000',
  },
}
SCSS
$custom: #4e124b;
$custom-light: #82577d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e124b",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 303,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30986,
    "c": 0.11504,
    "h": 330.1
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#4E124B
secondary
#358739
accent
#E64A42
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E124B

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

Preview Lab → · Contrast checker → · Palette generator →

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