#50145A#50145A

#50145A is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.127 H 321.5°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#50145A
RGBrgb(80, 20, 90)
HSLhsl(291, 64%, 22%)
HSVhsv(291, 78%, 35%)
CMYKcmyk(11.1%, 77.8%, 0%, 64.7%)
CIE-LABlab(19.82, 37.87, -28.34)
CIE-LCHlch(19.82, 47.30, 323.19°)
OKLaboklab(32.54% 0.0998 -0.0793)
OKLCHoklch(32.54% 0.127 321.5)
XYZxyz(5.4037, 2.9443, 9.9545)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50145A #1E5A14
analogous
#2D145A #50145A #5A1441
triadic
#50145A #5A5014 #145A50
tetradic
#50145A #5A2D14 #1E5A14 #14415A
square
#50145A #5A2D14 #1E5A14 #14415A
split-complementary
#50145A #415A14 #145A2D
monochromatic
#160619 #230928 #50145A #7D1F8C #A92ABE

Accessibility & contrast

On white

13.22
#50145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#50145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50145A
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50145A#FFFFFF#000000##FFFFFF
##50145A1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#1D3258
Tritanopia (blue-blind)
#512136
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50145a;
/* rgb */ color: rgb(80, 20, 90);
/* oklch */ color: oklch(32.5% 0.127 321.5);
Tailwind
colors: {
  custom: {
    50: '#845889',
    500: '#50145a',
    950: '#000000',
  },
}
SCSS
$custom: #50145a;
$custom-light: #845889;
$custom-dark: #000000;
JSON
{
  "hex": "#50145a",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 291.429,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32538,
    "c": 0.12742,
    "h": 321.5
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#50145A
secondary
#459238
accent
#E74159
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #50145A

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

Preview Lab → · Contrast checker → · Palette generator →

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