#50124A#50124A

#50124A is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.3% C 0.115 H 332.2°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#50124A
RGBrgb(80, 18, 74)
HSLhsl(306, 63%, 19%)
HSVhsv(306, 78%, 31%)
CMYKcmyk(0%, 77.5%, 7.5%, 68.6%)
CIE-LABlab(18.51, 35.56, -19.60)
CIE-LCHlch(18.51, 40.60, 331.14°)
OKLaboklab(31.27% 0.1021 -0.0538)
OKLCHoklch(31.27% 0.115 332.2)
XYZxyz(4.7606, 2.6329, 6.7347)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50124A #125018
analogous
#371250 #50124A #50122B
triadic
#50124A #4A5012 #124A50
tetradic
#50124A #503712 #125018 #122B50
square
#50124A #503712 #125018 #122B50
split-complementary
#50124A #2B5012 #125037
monochromatic
#190617 #1E071C #50124A #821D78 #B428A6

Accessibility & contrast

On white

13.76
#50124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50124A
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50124A#FFFFFF#000000##FFFFFF
##50124A1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E274C
Deuteranopia (green-blind)
#263048
Tritanopia (blue-blind)
#54192C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50124a;
/* rgb */ color: rgb(80, 18, 74);
/* oklch */ color: oklch(31.3% 0.115 332.2);
Tailwind
colors: {
  custom: {
    50: '#84577d',
    500: '#50124a',
    950: '#000000',
  },
}
SCSS
$custom: #50124a;
$custom-light: #84577d;
$custom-dark: #000000;
JSON
{
  "hex": "#50124a",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 305.806,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31269,
    "c": 0.11539,
    "h": 332.2
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#50124A
secondary
#35893D
accent
#E65141
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #50124A

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

Preview Lab → · Contrast checker → · Palette generator →

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