#50115E#50115E

#50115E is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.135 H 319.5°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#50115E
RGBrgb(80, 17, 94)
HSLhsl(289, 69%, 22%)
HSVhsv(289, 82%, 37%)
CMYKcmyk(14.9%, 81.9%, 0%, 63.1%)
CIE-LABlab(19.70, 39.85, -31.20)
CIE-LCHlch(19.70, 50.61, 321.95°)
OKLaboklab(32.54% 0.1025 -0.0876)
OKLCHoklch(32.54% 0.135 319.5)
XYZxyz(5.5288, 2.9148, 10.8589)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50115E #1F5E11
analogous
#2A115E #50115E #5E1146
triadic
#50115E #5E5011 #115E50
tetradic
#50115E #5E2A11 #1F5E11 #11465E
square
#50115E #5E2A11 #1F5E11 #11465E
split-complementary
#50115E #465E11 #115E2A
monochromatic
#16051A #24082A #50115E #7C1A92 #A824C6

Accessibility & contrast

On white

13.27
#50115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#50115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50115E
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50115E#FFFFFF#000000##FFFFFF
##50115E1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#17325C
Tritanopia (blue-blind)
#502137
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50115e;
/* rgb */ color: rgb(80, 17, 94);
/* oklch */ color: oklch(32.5% 0.135 319.5);
Tailwind
colors: {
  custom: {
    50: '#84578c',
    500: '#50115e',
    950: '#000000',
  },
}
SCSS
$custom: #50115e;
$custom-light: #84578c;
$custom-dark: #000000;
JSON
{
  "hex": "#50115e",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 289.091,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32544,
    "c": 0.1348,
    "h": 319.5
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#50115E
secondary
#469734
accent
#EC3C5C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50115E

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

Preview Lab → · Contrast checker → · Palette generator →

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