#50145D#50145D

#50145D is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.130 H 319.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#50145D
RGBrgb(80, 20, 93)
HSLhsl(289, 65%, 22%)
HSVhsv(289, 78%, 36%)
CMYKcmyk(14%, 78.5%, 0%, 63.5%)
CIE-LABlab(20.03, 38.49, -30.00)
CIE-LCHlch(20.03, 48.80, 322.07°)
OKLaboklab(32.76% 0.0995 -0.0841)
OKLCHoklch(32.76% 0.13 319.8)
XYZxyz(5.5340, 2.9964, 10.6407)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50145D #215D14
analogous
#2C145D #50145D #5D1446
triadic
#50145D #5D5014 #145D50
tetradic
#50145D #5D2C14 #215D14 #14465D
square
#50145D #5D2C14 #215D14 #14465D
split-complementary
#50145D #465D14 #145D2C
monochromatic
#160519 #25092B #50145D #7B1F8F #A72AC2

Accessibility & contrast

On white

13.13
#50145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50145D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50145D#FFFFFF#000000##FFFFFF
##50145D1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50145d;
/* rgb */ color: rgb(80, 20, 93);
/* oklch */ color: oklch(32.8% 0.130 319.8);
Tailwind
colors: {
  custom: {
    50: '#84598b',
    500: '#50145d',
    950: '#000000',
  },
}
SCSS
$custom: #50145d;
$custom-light: #84598b;
$custom-dark: #000000;
JSON
{
  "hex": "#50145d",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 289.315,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32755,
    "c": 0.13031,
    "h": 319.8
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#50145D
secondary
#499538
accent
#E8405E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50145D

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

Preview Lab → · Contrast checker → · Palette generator →

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