#50135C#50135C

#50135C is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.131 H 320.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#50135C
RGBrgb(80, 19, 92)
HSLhsl(290, 66%, 22%)
HSVhsv(290, 79%, 36%)
CMYKcmyk(13%, 79.3%, 0%, 63.9%)
CIE-LABlab(19.82, 38.68, -29.68)
CIE-LCHlch(19.82, 48.75, 322.51°)
OKLaboklab(32.58% 0.1007 -0.0831)
OKLCHoklch(32.58% 0.131 320.4)
XYZxyz(5.4727, 2.9442, 10.4032)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50135C #1F5C13
analogous
#2C135C #50135C #5C1344
triadic
#50135C #5C5013 #135C50
tetradic
#50135C #5C2C13 #1F5C13 #13445C
square
#50135C #5C2C13 #1F5C13 #13445C
split-complementary
#50135C #445C13 #135C2C
monochromatic
#160519 #240929 #50135C #7C1D8F #A828C1

Accessibility & contrast

On white

13.22
#50135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#50135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50135C
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50135C#FFFFFF#000000##FFFFFF
##50135C1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#1B325A
Tritanopia (blue-blind)
#502136
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50135c;
/* rgb */ color: rgb(80, 19, 92);
/* oklch */ color: oklch(32.6% 0.131 320.4);
Tailwind
colors: {
  custom: {
    50: '#84588a',
    500: '#50135c',
    950: '#000000',
  },
}
SCSS
$custom: #50135c;
$custom-light: #84588a;
$custom-dark: #000000;
JSON
{
  "hex": "#50135c",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 290.137,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32583,
    "c": 0.13058,
    "h": 320.4
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#50135C
secondary
#469437
accent
#E93F5B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50135C

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

Preview Lab → · Contrast checker → · Palette generator →

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