#50124C#50124C

#50124C is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.117 H 330.7°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#50124C
RGBrgb(80, 18, 76)
HSLhsl(304, 63%, 19%)
HSVhsv(304, 78%, 31%)
CMYKcmyk(0%, 77.5%, 5%, 68.6%)
CIE-LABlab(18.63, 35.93, -20.78)
CIE-LCHlch(18.63, 41.50, 329.96°)
OKLaboklab(31.39% 0.1022 -0.0572)
OKLCHoklch(31.39% 0.117 330.7)
XYZxyz(4.8291, 2.6603, 7.0952)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50124C #125016
analogous
#351250 #50124C #50122D
triadic
#50124C #4C5012 #124C50
tetradic
#50124C #503512 #125016 #122D50
square
#50124C #503512 #125016 #122D50
split-complementary
#50124C #2D5012 #125035
monochromatic
#190618 #1E071D #50124C #821D7B #B428AB

Accessibility & contrast

On white

13.71
#50124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50124C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50124C#FFFFFF#000000##FFFFFF
##50124C1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C284E
Deuteranopia (green-blind)
#25304A
Tritanopia (blue-blind)
#53192D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50124c;
/* rgb */ color: rgb(80, 18, 76);
/* oklch */ color: oklch(31.4% 0.117 330.7);
Tailwind
colors: {
  custom: {
    50: '#84577e',
    500: '#50124c',
    950: '#000000',
  },
}
SCSS
$custom: #50124c;
$custom-light: #84577e;
$custom-dark: #000000;
JSON
{
  "hex": "#50124c",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 303.871,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31393,
    "c": 0.11713,
    "h": 330.7
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#50124C
secondary
#35893A
accent
#E64C41
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #50124C

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

Preview Lab → · Contrast checker → · Palette generator →

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