#50186C#50186C

#50186C is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.140 H 311.6°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#50186C
RGBrgb(80, 24, 108)
HSLhsl(280, 64%, 26%)
HSVhsv(280, 78%, 42%)
CMYKcmyk(25.9%, 77.8%, 0%, 57.6%)
CIE-LABlab(21.73, 40.15, -37.11)
CIE-LCHlch(21.73, 54.68, 317.25°)
OKLaboklab(34.32% 0.0932 -0.105)
OKLCHoklch(34.32% 0.14 311.6)
XYZxyz(6.3412, 3.4416, 14.5147)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50186C #346C18
analogous
#26186C #50186C #6C185E
triadic
#50186C #6C5018 #186C50
tetradic
#50186C #6C2618 #346C18 #185E6C
square
#50186C #6C2618 #346C18 #185E6C
split-complementary
#50186C #5E6C18 #186C26
monochromatic
#130619 #2B0D3A #50186C #75239E #9A2ED0

Accessibility & contrast

On white

12.44
#50186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#50186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50186C
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50186C#FFFFFF#000000##FFFFFF
##50186C1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#0A356A
Tritanopia (blue-blind)
#4C2B41
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #50186c;
/* rgb */ color: rgb(80, 24, 108);
/* oklch */ color: oklch(34.3% 0.140 311.6);
Tailwind
colors: {
  custom: {
    50: '#855b97',
    500: '#50186c',
    950: '#000000',
  },
}
SCSS
$custom: #50186c;
$custom-light: #855b97;
$custom-dark: #000000;
JSON
{
  "hex": "#50186c",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 280,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34319,
    "c": 0.14042,
    "h": 311.6
  },
  "luminance": 0.03441
}

Semantic roles & 50–950 ramp

primary
#50186C
secondary
#5FA23E
accent
#E74178
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50186C

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

Preview Lab → · Contrast checker → · Palette generator →

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