#50186A#50186A

#50186A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.138 H 312.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#50186A
RGBrgb(80, 24, 106)
HSLhsl(281, 63%, 25%)
HSVhsv(281, 77%, 42%)
CMYKcmyk(24.5%, 77.4%, 0%, 58.4%)
CIE-LABlab(21.58, 39.69, -36.06)
CIE-LCHlch(21.58, 53.63, 317.74°)
OKLaboklab(34.16% 0.0936 -0.1019)
OKLCHoklch(34.16% 0.138 312.6)
XYZxyz(6.2359, 3.3995, 13.9606)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50186A #326A18
analogous
#27186A #50186A #6A185B
triadic
#50186A #6A5018 #186A50
tetradic
#50186A #6A2718 #326A18 #185B6A
square
#50186A #6A2718 #326A18 #185B6A
split-complementary
#50186A #5B6A18 #186A27
monochromatic
#130619 #2A0D38 #50186A #76239C #9B2FCE

Accessibility & contrast

On white

12.50
#50186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#50186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50186A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50186A#FFFFFF#000000##FFFFFF
##50186A1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#0E3568
Tritanopia (blue-blind)
#4D2A40
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #50186a;
/* rgb */ color: rgb(80, 24, 106);
/* oklch */ color: oklch(34.2% 0.138 312.6);
Tailwind
colors: {
  custom: {
    50: '#845b95',
    500: '#50186a',
    950: '#000000',
  },
}
SCSS
$custom: #50186a;
$custom-light: #845b95;
$custom-dark: #000000;
JSON
{
  "hex": "#50186a",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 280.976,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3416,
    "c": 0.13836,
    "h": 312.6
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#50186A
secondary
#5DA03E
accent
#E64276
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50186A

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

Preview Lab → · Contrast checker → · Palette generator →

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