#50186B#50186B

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

Color values

HEX#50186B
RGBrgb(80, 24, 107)
HSLhsl(280, 63%, 26%)
HSVhsv(280, 78%, 42%)
CMYKcmyk(25.2%, 77.6%, 0%, 58%)
CIE-LABlab(21.65, 39.92, -36.59)
CIE-LCHlch(21.65, 54.15, 317.49°)
OKLaboklab(34.24% 0.0934 -0.1035)
OKLCHoklch(34.24% 0.139 312.1)
XYZxyz(6.2883, 3.4205, 14.2360)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50186B #336B18
analogous
#26186B #50186B #6B185C
triadic
#50186B #6B5018 #186B50
tetradic
#50186B #6B2618 #336B18 #185C6B
square
#50186B #6B2618 #336B18 #185C6B
split-complementary
#50186B #5C6B18 #186B26
monochromatic
#130619 #2B0D39 #50186B #75239D #9B2ECF

Accessibility & contrast

On white

12.47
#50186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50186B
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50186B#FFFFFF#000000##FFFFFF
##50186B1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#0C3569
Tritanopia (blue-blind)
#4D2B40
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #50186b;
/* rgb */ color: rgb(80, 24, 107);
/* oklch */ color: oklch(34.2% 0.139 312.1);
Tailwind
colors: {
  custom: {
    50: '#855b96',
    500: '#50186b',
    950: '#000000',
  },
}
SCSS
$custom: #50186b;
$custom-light: #855b96;
$custom-dark: #000000;
JSON
{
  "hex": "#50186b",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 280.482,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34239,
    "c": 0.13939,
    "h": 312.1
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#50186B
secondary
#5EA13E
accent
#E64177
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50186B

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

Preview Lab → · Contrast checker → · Palette generator →

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