#50145F#50145F

#50145F is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.132 H 318.7°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#50145F
RGBrgb(80, 20, 95)
HSLhsl(288, 65%, 23%)
HSVhsv(288, 79%, 37%)
CMYKcmyk(15.8%, 78.9%, 0%, 62.7%)
CIE-LABlab(20.17, 38.92, -31.10)
CIE-LCHlch(20.17, 49.82, 321.37°)
OKLaboklab(32.9% 0.0993 -0.0873)
OKLCHoklch(32.9% 0.132 318.7)
XYZxyz(5.6237, 3.0323, 11.1133)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50145F #235F14
analogous
#2B145F #50145F #5F1448
triadic
#50145F #5F5014 #145F50
tetradic
#50145F #5F2B14 #235F14 #14485F
square
#50145F #5F2B14 #235F14 #14485F
split-complementary
#50145F #485F14 #145F2B
monochromatic
#150519 #25092C #50145F #7B1F92 #A529C4

Accessibility & contrast

On white

13.07
#50145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#50145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50145F
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50145F#FFFFFF#000000##FFFFFF
##50145F1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#18335D
Tritanopia (blue-blind)
#502338
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50145f;
/* rgb */ color: rgb(80, 20, 95);
/* oklch */ color: oklch(32.9% 0.132 318.7);
Tailwind
colors: {
  custom: {
    50: '#84598d',
    500: '#50145f',
    950: '#000000',
  },
}
SCSS
$custom: #50145f;
$custom-light: #84598d;
$custom-dark: #000000;
JSON
{
  "hex": "#50145f",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 288,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32903,
    "c": 0.13225,
    "h": 318.7
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#50145F
secondary
#4B9738
accent
#E84061
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50145F

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

Preview Lab → · Contrast checker → · Palette generator →

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