#50124E#50124E

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

Color values

HEX#50124E
RGBrgb(80, 18, 78)
HSLhsl(302, 63%, 19%)
HSVhsv(302, 78%, 31%)
CMYKcmyk(0%, 77.5%, 2.5%, 68.6%)
CIE-LABlab(18.75, 36.30, -21.95)
CIE-LCHlch(18.75, 42.42, 328.84°)
OKLaboklab(31.52% 0.1023 -0.0606)
OKLCHoklch(31.52% 0.119 329.3)
XYZxyz(4.8997, 2.6885, 7.4671)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50124E #125014
analogous
#331250 #50124E #50122F
triadic
#50124E #4E5012 #124E50
tetradic
#50124E #503312 #125014 #122F50
square
#50124E #503312 #125014 #122F50
split-complementary
#50124E #2F5012 #125033
monochromatic
#190618 #1E071D #50124E #821D7F #B428AF

Accessibility & contrast

On white

13.66
#50124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#50124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50124E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50124E#FFFFFF#000000##FFFFFF
##50124E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2850
Deuteranopia (green-blind)
#24314C
Tritanopia (blue-blind)
#531A2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #50124e;
/* rgb */ color: rgb(80, 18, 78);
/* oklch */ color: oklch(31.5% 0.119 329.3);
Tailwind
colors: {
  custom: {
    50: '#845780',
    500: '#50124e',
    950: '#000000',
  },
}
SCSS
$custom: #50124e;
$custom-light: #845780;
$custom-dark: #000000;
JSON
{
  "hex": "#50124e",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 301.935,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31521,
    "c": 0.11889,
    "h": 329.3
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#50124E
secondary
#358938
accent
#E64741
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #50124E

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

Preview Lab → · Contrast checker → · Palette generator →

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