#50124F#50124F

#50124F is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.120 H 328.6°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#50124F
RGBrgb(80, 18, 79)
HSLhsl(301, 63%, 19%)
HSVhsv(301, 78%, 31%)
CMYKcmyk(0%, 77.5%, 1.2%, 68.6%)
CIE-LABlab(18.81, 36.49, -22.53)
CIE-LCHlch(18.81, 42.88, 328.30°)
OKLaboklab(31.59% 0.1023 -0.0623)
OKLCHoklch(31.59% 0.12 328.6)
XYZxyz(4.9358, 2.7030, 7.6574)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50124F #125013
analogous
#321250 #50124F #501230
triadic
#50124F #4F5012 #124F50
tetradic
#50124F #503212 #125013 #123050
square
#50124F #503212 #125013 #123050
split-complementary
#50124F #305012 #125032
monochromatic
#190619 #1E071E #50124F #821D80 #B428B2

Accessibility & contrast

On white

13.63
#50124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50124F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50124F#FFFFFF#000000##FFFFFF
##50124F1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082951
Deuteranopia (green-blind)
#23314D
Tritanopia (blue-blind)
#531B2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #50124f;
/* rgb */ color: rgb(80, 18, 79);
/* oklch */ color: oklch(31.6% 0.120 328.6);
Tailwind
colors: {
  custom: {
    50: '#845780',
    500: '#50124f',
    950: '#000000',
  },
}
SCSS
$custom: #50124f;
$custom-light: #845780;
$custom-dark: #000000;
JSON
{
  "hex": "#50124f",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 300.968,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31585,
    "c": 0.11978,
    "h": 328.6
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#50124F
secondary
#358936
accent
#E64441
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #50124F

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

Preview Lab → · Contrast checker → · Palette generator →

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