#50136C#50136C

#50136C is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.146 H 312.2°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#50136C
RGBrgb(80, 19, 108)
HSLhsl(281, 70%, 25%)
HSVhsv(281, 82%, 42%)
CMYKcmyk(25.9%, 82.4%, 0%, 57.6%)
CIE-LABlab(21.03, 42.16, -38.24)
CIE-LCHlch(21.03, 56.92, 317.79°)
OKLaboklab(33.83% 0.0981 -0.1083)
OKLCHoklch(33.83% 0.146 312.2)
XYZxyz(6.2474, 3.2541, 14.4835)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50136C #2F6C13
analogous
#24136C #50136C #6C135B
triadic
#50136C #6C5013 #136C50
tetradic
#50136C #6C2413 #2F6C13 #135B6C
square
#50136C #6C2413 #2F6C13 #135B6C
split-complementary
#50136C #5B6C13 #136C24
monochromatic
#13051A #290A38 #50136C #771CA0 #9D25D4

Accessibility & contrast

On white

12.72
#50136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#50136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50136C
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50136C#FFFFFF#000000##FFFFFF
##50136C1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#03346A
Tritanopia (blue-blind)
#4D293F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #50136c;
/* rgb */ color: rgb(80, 19, 108);
/* oklch */ color: oklch(33.8% 0.146 312.2);
Tailwind
colors: {
  custom: {
    50: '#855997',
    500: '#50136c',
    950: '#000000',
  },
}
SCSS
$custom: #50136c;
$custom-light: #855997;
$custom-dark: #000000;
JSON
{
  "hex": "#50136c",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 281.124,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33827,
    "c": 0.14611,
    "h": 312.2
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#50136C
secondary
#5AA338
accent
#ED3B73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50136C

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

Preview Lab → · Contrast checker → · Palette generator →

#50136C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva