#50115F#50115F

#50115F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.136 H 318.9°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#50115F
RGBrgb(80, 17, 95)
HSLhsl(288, 70%, 22%)
HSVhsv(288, 82%, 37%)
CMYKcmyk(15.8%, 82.1%, 0%, 62.7%)
CIE-LABlab(19.77, 40.06, -31.74)
CIE-LCHlch(19.77, 51.11, 321.61°)
OKLaboklab(32.62% 0.1023 -0.0892)
OKLCHoklch(32.62% 0.136 318.9)
XYZxyz(5.5740, 2.9329, 11.0967)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50115F #205F11
analogous
#29115F #50115F #5F1147
triadic
#50115F #5F5011 #115F50
tetradic
#50115F #5F2911 #205F11 #11475F
square
#50115F #5F2911 #205F11 #11475F
split-complementary
#50115F #475F11 #115F29
monochromatic
#16051A #24082B #50115F #7C1A93 #A724C7

Accessibility & contrast

On white

13.24
#50115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#50115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50115F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50115F#FFFFFF#000000##FFFFFF
##50115F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#16325D
Tritanopia (blue-blind)
#502238
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50115f;
/* rgb */ color: rgb(80, 17, 95);
/* oklch */ color: oklch(32.6% 0.136 318.9);
Tailwind
colors: {
  custom: {
    50: '#84578d',
    500: '#50115f',
    950: '#000000',
  },
}
SCSS
$custom: #50115f;
$custom-light: #84578d;
$custom-dark: #000000;
JSON
{
  "hex": "#50115f",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 288.462,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3262,
    "c": 0.13573,
    "h": 318.9
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#50115F
secondary
#479834
accent
#EC3B5D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50115F

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

Preview Lab → · Contrast checker → · Palette generator →

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