#50136E#50136E

#50136E is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.148 H 311.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#50136E
RGBrgb(80, 19, 110)
HSLhsl(280, 71%, 25%)
HSVhsv(280, 83%, 43%)
CMYKcmyk(27.3%, 82.7%, 0%, 56.9%)
CIE-LABlab(21.20, 42.61, -39.28)
CIE-LCHlch(21.20, 57.95, 317.33°)
OKLaboklab(33.99% 0.0976 -0.1113)
OKLCHoklch(33.99% 0.148 311.2)
XYZxyz(6.3551, 3.2972, 15.0505)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50136E #316E13
analogous
#23136E #50136E #6E135E
triadic
#50136E #6E5013 #136E50
tetradic
#50136E #6E2313 #316E13 #135E6E
square
#50136E #6E2313 #316E13 #135E6E
split-complementary
#50136E #5E6E13 #136E23
monochromatic
#13051A #2A0A3A #50136E #761CA2 #9C25D6

Accessibility & contrast

On white

12.66
#50136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#50136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50136E
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50136E#FFFFFF#000000##FFFFFF
##50136E1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#4C2A41
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #50136e;
/* rgb */ color: rgb(80, 19, 110);
/* oklch */ color: oklch(34.0% 0.148 311.2);
Tailwind
colors: {
  custom: {
    50: '#855998',
    500: '#50136e',
    950: '#000000',
  },
}
SCSS
$custom: #50136e;
$custom-light: #855998;
$custom-dark: #000000;
JSON
{
  "hex": "#50136e",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 280.22,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33992,
    "c": 0.14807,
    "h": 311.2
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#50136E
secondary
#5CA538
accent
#ED3A75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #50136E

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

Preview Lab → · Contrast checker → · Palette generator →

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