#50164B#50164B

#50164B is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.111 H 331.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#50164B
RGBrgb(80, 22, 75)
HSLhsl(305, 57%, 20%)
HSVhsv(305, 73%, 31%)
CMYKcmyk(0%, 72.5%, 6.2%, 68.6%)
CIE-LABlab(19.17, 34.04, -19.24)
CIE-LCHlch(19.17, 39.10, 330.53°)
OKLaboklab(31.77% 0.0972 -0.0528)
OKLCHoklch(31.77% 0.111 331.5)
XYZxyz(4.8652, 2.7877, 6.9371)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50164B #16501B
analogous
#381650 #50164B #50162E
triadic
#50164B #4B5016 #164B50
tetradic
#50164B #503816 #16501B #162E50
square
#50164B #503816 #16501B #162E50
split-complementary
#50164B #2E5016 #165038
monochromatic
#180717 #20091E #50164B #802378 #B030A5

Accessibility & contrast

On white

13.48
#50164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#50164B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50164B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50164B#FFFFFF#000000##FFFFFF
##50164B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12294D
Deuteranopia (green-blind)
#27314A
Tritanopia (blue-blind)
#531C2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #50164b;
/* rgb */ color: rgb(80, 22, 75);
/* oklch */ color: oklch(31.8% 0.111 331.5);
Tailwind
colors: {
  custom: {
    50: '#83597d',
    500: '#50164b',
    950: '#000000',
  },
}
SCSS
$custom: #50164b;
$custom-light: #83597d;
$custom-dark: #000000;
JSON
{
  "hex": "#50164b",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 305.172,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.31767,
    "c": 0.11064,
    "h": 331.5
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#50164B
secondary
#3A8741
accent
#E05548
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #50164B

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

Preview Lab → · Contrast checker → · Palette generator →

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