#50124D#50124D

#50124D is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.118 H 330.0°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#50124D
RGBrgb(80, 18, 77)
HSLhsl(303, 63%, 19%)
HSVhsv(303, 78%, 31%)
CMYKcmyk(0%, 77.5%, 3.7%, 68.6%)
CIE-LABlab(18.69, 36.11, -21.36)
CIE-LCHlch(18.69, 41.96, 329.39°)
OKLaboklab(31.46% 0.1022 -0.0589)
OKLCHoklch(31.46% 0.118 330)
XYZxyz(4.8641, 2.6743, 7.2797)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50124D #125015
analogous
#341250 #50124D #50122E
triadic
#50124D #4D5012 #124D50
tetradic
#50124D #503412 #125015 #122E50
square
#50124D #503412 #125015 #122E50
split-complementary
#50124D #2E5012 #125034
monochromatic
#190618 #1E071D #50124D #821D7D #B428AD

Accessibility & contrast

On white

13.68
#50124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#50124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50124D
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50124D#FFFFFF#000000##FFFFFF
##50124D1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B284F
Deuteranopia (green-blind)
#24304B
Tritanopia (blue-blind)
#531A2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50124d;
/* rgb */ color: rgb(80, 18, 77);
/* oklch */ color: oklch(31.5% 0.118 330.0);
Tailwind
colors: {
  custom: {
    50: '#84577f',
    500: '#50124d',
    950: '#000000',
  },
}
SCSS
$custom: #50124d;
$custom-light: #84577f;
$custom-dark: #000000;
JSON
{
  "hex": "#50124d",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 302.903,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31457,
    "c": 0.11801,
    "h": 330
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#50124D
secondary
#358939
accent
#E64941
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #50124D

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

Preview Lab → · Contrast checker → · Palette generator →

#50124D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva