#50145C#50145C

#50145C is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.129 H 320.4°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#50145C
RGBrgb(80, 20, 92)
HSLhsl(290, 64%, 22%)
HSVhsv(290, 78%, 36%)
CMYKcmyk(13%, 78.3%, 0%, 63.9%)
CIE-LABlab(19.96, 38.28, -29.45)
CIE-LCHlch(19.96, 48.30, 322.43°)
OKLaboklab(32.68% 0.0996 -0.0825)
OKLCHoklch(32.68% 0.129 320.4)
XYZxyz(5.4900, 2.9788, 10.4089)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50145C #205C14
analogous
#2C145C #50145C #5C1444
triadic
#50145C #5C5014 #145C50
tetradic
#50145C #5C2C14 #205C14 #14445C
square
#50145C #5C2C14 #205C14 #14445C
split-complementary
#50145C #445C14 #145C2C
monochromatic
#160519 #24092A #50145C #7C1F8E #A72AC1

Accessibility & contrast

On white

13.16
#50145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#50145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50145C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50145C#FFFFFF#000000##FFFFFF
##50145C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#1B325A
Tritanopia (blue-blind)
#502237
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50145c;
/* rgb */ color: rgb(80, 20, 92);
/* oklch */ color: oklch(32.7% 0.129 320.4);
Tailwind
colors: {
  custom: {
    50: '#84598a',
    500: '#50145c',
    950: '#000000',
  },
}
SCSS
$custom: #50145c;
$custom-light: #84598a;
$custom-dark: #000000;
JSON
{
  "hex": "#50145c",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 290,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32682,
    "c": 0.12935,
    "h": 320.4
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#50145C
secondary
#479438
accent
#E7415C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50145C

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

Preview Lab → · Contrast checker → · Palette generator →

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