#50124B#50124B

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

Color values

HEX#50124B
RGBrgb(80, 18, 75)
HSLhsl(305, 63%, 19%)
HSVhsv(305, 78%, 31%)
CMYKcmyk(0%, 77.5%, 6.2%, 68.6%)
CIE-LABlab(18.57, 35.74, -20.19)
CIE-LCHlch(18.57, 41.05, 330.54°)
OKLaboklab(31.33% 0.1021 -0.0555)
OKLCHoklch(31.33% 0.116 331.5)
XYZxyz(4.7946, 2.6465, 6.9135)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50124B #125017
analogous
#361250 #50124B #50122C
triadic
#50124B #4B5012 #124B50
tetradic
#50124B #503612 #125017 #122C50
square
#50124B #503612 #125017 #122C50
split-complementary
#50124B #2C5012 #125036
monochromatic
#190617 #1E071C #50124B #821D7A #B428A9

Accessibility & contrast

On white

13.73
#50124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50124B
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50124B#FFFFFF#000000##FFFFFF
##50124B1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D284D
Deuteranopia (green-blind)
#253049
Tritanopia (blue-blind)
#54192D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50124b;
/* rgb */ color: rgb(80, 18, 75);
/* oklch */ color: oklch(31.3% 0.116 331.5);
Tailwind
colors: {
  custom: {
    50: '#84577d',
    500: '#50124b',
    950: '#000000',
  },
}
SCSS
$custom: #50124b;
$custom-light: #84577d;
$custom-dark: #000000;
JSON
{
  "hex": "#50124b",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 304.839,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31331,
    "c": 0.11626,
    "h": 331.5
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#50124B
secondary
#35893C
accent
#E64F41
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #50124B

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

Preview Lab → · Contrast checker → · Palette generator →

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