#50115C#50115C

#50115C is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.133 H 320.6°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#50115C
RGBrgb(80, 17, 92)
HSLhsl(290, 69%, 21%)
HSVhsv(290, 82%, 36%)
CMYKcmyk(13%, 81.5%, 0%, 63.9%)
CIE-LABlab(19.55, 39.44, -30.10)
CIE-LCHlch(19.55, 49.61, 322.65°)
OKLaboklab(32.4% 0.1027 -0.0844)
OKLCHoklch(32.4% 0.133 320.6)
XYZxyz(5.4403, 2.8794, 10.3924)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50115C #1D5C11
analogous
#2B115C #50115C #5C1143
triadic
#50115C #5C5011 #115C50
tetradic
#50115C #5C2B11 #1D5C11 #11435C
square
#50115C #5C2B11 #1D5C11 #11435C
split-complementary
#50115C #435C11 #115C2B
monochromatic
#16051A #230728 #50115C #7D1B90 #AA24C3

Accessibility & contrast

On white

13.33
#50115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50115C
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50115C#FFFFFF#000000##FFFFFF
##50115C1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#19325A
Tritanopia (blue-blind)
#502036
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #50115c;
/* rgb */ color: rgb(80, 17, 92);
/* oklch */ color: oklch(32.4% 0.133 320.6);
Tailwind
colors: {
  custom: {
    50: '#84578b',
    500: '#50115c',
    950: '#000000',
  },
}
SCSS
$custom: #50115c;
$custom-light: #84578b;
$custom-dark: #000000;
JSON
{
  "hex": "#50115c",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 290.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32395,
    "c": 0.13292,
    "h": 320.6
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#50115C
secondary
#449534
accent
#EC3C58
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #50115C

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

Preview Lab → · Contrast checker → · Palette generator →

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