#50116F#50116F

#50116F is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.151 H 311.0°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#50116F
RGBrgb(80, 17, 111)
HSLhsl(280, 73%, 25%)
HSVhsv(280, 85%, 44%)
CMYKcmyk(27.9%, 84.7%, 0%, 56.5%)
CIE-LABlab(21.03, 43.54, -40.19)
CIE-LCHlch(21.03, 59.26, 317.30°)
OKLaboklab(33.9% 0.0991 -0.114)
OKLCHoklch(33.9% 0.151 311)
XYZxyz(6.3774, 3.2542, 15.3280)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50116F #306F11
analogous
#21116F #50116F #6F115F
triadic
#50116F #6F5011 #116F50
tetradic
#50116F #6F2111 #306F11 #115F6F
square
#50116F #6F2111 #306F11 #115F6F
split-complementary
#50116F #5F6F11 #116F21
monochromatic
#13041B #2A093A #50116F #7619A4 #9D21D9

Accessibility & contrast

On white

12.72
#50116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#50116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50116F
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50116F#FFFFFF#000000##FFFFFF
##50116F1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#4C2941
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #50116f;
/* rgb */ color: rgb(80, 17, 111);
/* oklch */ color: oklch(33.9% 0.151 311.0);
Tailwind
colors: {
  custom: {
    50: '#855899',
    500: '#50116f',
    950: '#000000',
  },
}
SCSS
$custom: #50116f;
$custom-light: #855899;
$custom-dark: #000000;
JSON
{
  "hex": "#50116f",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 280.213,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33904,
    "c": 0.15104,
    "h": 311
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#50116F
secondary
#5BA635
accent
#F03875
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #50116F

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

Preview Lab → · Contrast checker → · Palette generator →

#50116F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva