#50146D#50146D

#50146D is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.146 H 311.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#50146D
RGBrgb(80, 20, 109)
HSLhsl(280, 69%, 25%)
HSVhsv(280, 82%, 43%)
CMYKcmyk(26.6%, 81.7%, 0%, 57.3%)
CIE-LABlab(21.25, 42.00, -38.55)
CIE-LCHlch(21.25, 57.01, 317.46°)
OKLaboklab(34% 0.097 -0.1092)
OKLCHoklch(34% 0.146 311.6)
XYZxyz(6.3182, 3.3101, 14.7711)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50146D #316D14
analogous
#23146D #50146D #6D145E
triadic
#50146D #6D5014 #146D50
tetradic
#50146D #6D2314 #316D14 #145E6D
square
#50146D #6D2314 #316D14 #145E6D
split-complementary
#50146D #5E6D14 #146D23
monochromatic
#13051A #2A0B39 #50146D #761DA1 #9C27D4

Accessibility & contrast

On white

12.64
#50146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#50146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50146D
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50146D#FFFFFF#000000##FFFFFF
##50146D1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#02346B
Tritanopia (blue-blind)
#4C2A40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #50146d;
/* rgb */ color: rgb(80, 20, 109);
/* oklch */ color: oklch(34.0% 0.146 311.6);
Tailwind
colors: {
  custom: {
    50: '#855997',
    500: '#50146d',
    950: '#000000',
  },
}
SCSS
$custom: #50146d;
$custom-light: #855997;
$custom-dark: #000000;
JSON
{
  "hex": "#50146d",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 280.449,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34,
    "c": 0.14603,
    "h": 311.6
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#50146D
secondary
#5CA439
accent
#EC3C75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #50146D

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

Preview Lab → · Contrast checker → · Palette generator →

#50146D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva