#50164F#50164F

#50164F is a dark, moderate purple. Relative luminance 0.028; OKLCH L 32.0% C 0.114 H 328.6°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#50164F
RGBrgb(80, 22, 79)
HSLhsl(301, 57%, 20%)
HSVhsv(301, 73%, 31%)
CMYKcmyk(0%, 72.5%, 1.2%, 68.6%)
CIE-LABlab(19.41, 34.80, -21.59)
CIE-LCHlch(19.41, 40.95, 328.19°)
OKLaboklab(32.01% 0.0975 -0.0596)
OKLCHoklch(32.01% 0.114 328.6)
XYZxyz(5.0064, 2.8442, 7.6809)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50164F #165017
analogous
#341650 #50164F #501632
triadic
#50164F #4F5016 #164F50
tetradic
#50164F #503416 #165017 #163250
square
#50164F #503416 #165017 #163250
split-complementary
#50164F #325016 #165034
monochromatic
#180718 #200920 #50164F #80237E #B030AE

Accessibility & contrast

On white

13.39
#50164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#50164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50164F
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50164F#FFFFFF#000000##FFFFFF
##50164F1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2A51
Deuteranopia (green-blind)
#25324D
Tritanopia (blue-blind)
#531E30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #50164f;
/* rgb */ color: rgb(80, 22, 79);
/* oklch */ color: oklch(32.0% 0.114 328.6);
Tailwind
colors: {
  custom: {
    50: '#835980',
    500: '#50164f',
    950: '#000000',
  },
}
SCSS
$custom: #50164f;
$custom-light: #835980;
$custom-dark: #000000;
JSON
{
  "hex": "#50164f",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 301.034,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.32014,
    "c": 0.11429,
    "h": 328.6
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#50164F
secondary
#3A873C
accent
#E04A48
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #50164F

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

Preview Lab → · Contrast checker → · Palette generator →

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