#50135B#50135B

#50135B is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.130 H 321.0°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#50135B
RGBrgb(80, 19, 91)
HSLhsl(291, 65%, 22%)
HSVhsv(291, 79%, 36%)
CMYKcmyk(12.1%, 79.1%, 0%, 64.3%)
CIE-LABlab(19.75, 38.47, -29.12)
CIE-LCHlch(19.75, 48.25, 322.88°)
OKLaboklab(32.51% 0.1008 -0.0815)
OKLCHoklch(32.51% 0.13 321)
XYZxyz(5.4292, 2.9268, 10.1745)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50135B #1E5B13
analogous
#2C135B #50135B #5B1342
triadic
#50135B #5B5013 #135B50
tetradic
#50135B #5B2C13 #1E5B13 #13425B
square
#50135B #5B2C13 #1E5B13 #13425B
split-complementary
#50135B #425B13 #135B2C
monochromatic
#160519 #230828 #50135B #7D1E8E #A928C0

Accessibility & contrast

On white

13.25
#50135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#50135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50135B
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50135B#FFFFFF#000000##FFFFFF
##50135B1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#1B3259
Tritanopia (blue-blind)
#512136
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50135b;
/* rgb */ color: rgb(80, 19, 91);
/* oklch */ color: oklch(32.5% 0.130 321.0);
Tailwind
colors: {
  custom: {
    50: '#84588a',
    500: '#50135b',
    950: '#000000',
  },
}
SCSS
$custom: #50135b;
$custom-light: #84588a;
$custom-dark: #000000;
JSON
{
  "hex": "#50135b",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 290.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3251,
    "c": 0.12963,
    "h": 321
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#50135B
secondary
#459337
accent
#E83F59
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50135B

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

Preview Lab → · Contrast checker → · Palette generator →

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