#50115B#50115B

#50115B is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.132 H 321.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#50115B
RGBrgb(80, 17, 91)
HSLhsl(291, 69%, 21%)
HSVhsv(291, 81%, 36%)
CMYKcmyk(12.1%, 81.3%, 0%, 64.3%)
CIE-LABlab(19.48, 39.24, -29.55)
CIE-LCHlch(19.48, 49.12, 323.02°)
OKLaboklab(32.32% 0.1028 -0.0828)
OKLCHoklch(32.32% 0.132 321.2)
XYZxyz(5.3968, 2.8620, 10.1637)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50115B #1C5B11
analogous
#2B115B #50115B #5B1141
triadic
#50115B #5B5011 #115B50
tetradic
#50115B #5B2B11 #1C5B11 #11415B
square
#50115B #5B2B11 #1C5B11 #11415B
split-complementary
#50115B #415B11 #115B2B
monochromatic
#17051A #230727 #50115B #7D1B8F #AB24C2

Accessibility & contrast

On white

13.36
#50115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#50115B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50115B
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50115B#FFFFFF#000000##FFFFFF
##50115B1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#1A3159
Tritanopia (blue-blind)
#512035
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #50115b;
/* rgb */ color: rgb(80, 17, 91);
/* oklch */ color: oklch(32.3% 0.132 321.2);
Tailwind
colors: {
  custom: {
    50: '#84578a',
    500: '#50115b',
    950: '#000000',
  },
}
SCSS
$custom: #50115b;
$custom-light: #84578a;
$custom-dark: #000000;
JSON
{
  "hex": "#50115b",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 291.081,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32321,
    "c": 0.13199,
    "h": 321.2
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#50115B
secondary
#429434
accent
#EB3C56
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #50115B

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

Preview Lab → · Contrast checker → · Palette generator →

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