#50145E#50145E

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

Color values

HEX#50145E
RGBrgb(80, 20, 94)
HSLhsl(289, 65%, 22%)
HSVhsv(289, 79%, 37%)
CMYKcmyk(14.9%, 78.7%, 0%, 63.1%)
CIE-LABlab(20.10, 38.70, -30.55)
CIE-LCHlch(20.10, 49.31, 321.71°)
OKLaboklab(32.83% 0.0994 -0.0857)
OKLCHoklch(32.83% 0.131 319.2)
XYZxyz(5.5785, 3.0142, 10.8755)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50145E #225E14
analogous
#2B145E #50145E #5E1447
triadic
#50145E #5E5014 #145E50
tetradic
#50145E #5E2B14 #225E14 #14475E
square
#50145E #5E2B14 #225E14 #14475E
split-complementary
#50145E #475E14 #145E2B
monochromatic
#150519 #25092C #50145E #7B1F90 #A629C3

Accessibility & contrast

On white

13.10
#50145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50145E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50145E#FFFFFF#000000##FFFFFF
##50145E1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#19325C
Tritanopia (blue-blind)
#502338
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50145e;
/* rgb */ color: rgb(80, 20, 94);
/* oklch */ color: oklch(32.8% 0.131 319.2);
Tailwind
colors: {
  custom: {
    50: '#84598c',
    500: '#50145e',
    950: '#000000',
  },
}
SCSS
$custom: #50145e;
$custom-light: #84598c;
$custom-dark: #000000;
JSON
{
  "hex": "#50145e",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 288.649,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32829,
    "c": 0.13128,
    "h": 319.2
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#50145E
secondary
#4A9638
accent
#E84060
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50145E

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

Preview Lab → · Contrast checker → · Palette generator →

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