#50164E#50164E

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

Color values

HEX#50164E
RGBrgb(80, 22, 78)
HSLhsl(302, 57%, 20%)
HSVhsv(302, 73%, 31%)
CMYKcmyk(0%, 72.5%, 2.5%, 68.6%)
CIE-LABlab(19.35, 34.61, -21.00)
CIE-LCHlch(19.35, 40.49, 328.75°)
OKLaboklab(31.95% 0.0975 -0.0579)
OKLCHoklch(31.95% 0.113 329.3)
XYZxyz(4.9703, 2.8297, 7.4907)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50164E #165018
analogous
#351650 #50164E #501631
triadic
#50164E #4E5016 #164E50
tetradic
#50164E #503516 #165018 #163150
square
#50164E #503516 #165018 #163150
split-complementary
#50164E #315016 #165035
monochromatic
#180717 #20091F #50164E #80237D #B030AC

Accessibility & contrast

On white

13.41
#50164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50164E
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50164E#FFFFFF#000000##FFFFFF
##50164E1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102A50
Deuteranopia (green-blind)
#26324C
Tritanopia (blue-blind)
#531D30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #50164e;
/* rgb */ color: rgb(80, 22, 78);
/* oklch */ color: oklch(32.0% 0.113 329.3);
Tailwind
colors: {
  custom: {
    50: '#835980',
    500: '#50164e',
    950: '#000000',
  },
}
SCSS
$custom: #50164e;
$custom-light: #835980;
$custom-dark: #000000;
JSON
{
  "hex": "#50164e",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 302.069,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.31951,
    "c": 0.11337,
    "h": 329.3
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#50164E
secondary
#3A873D
accent
#E04D48
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #50164E

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

Preview Lab → · Contrast checker → · Palette generator →

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