#50184E#50184E

#50184E is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.2% C 0.110 H 329.2°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#50184E
RGBrgb(80, 24, 78)
HSLhsl(302, 54%, 20%)
HSVhsv(302, 70%, 31%)
CMYKcmyk(0%, 70%, 2.5%, 68.6%)
CIE-LABlab(19.68, 33.69, -20.49)
CIE-LCHlch(19.68, 39.43, 328.70°)
OKLaboklab(32.19% 0.0948 -0.0565)
OKLCHoklch(32.19% 0.11 329.2)
XYZxyz(5.0100, 2.9092, 7.5039)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50184E #18501A
analogous
#361850 #50184E #501832
triadic
#50184E #4E5018 #184E50
tetradic
#50184E #503618 #18501A #183250
square
#50184E #503618 #18501A #183250
split-complementary
#50184E #325018 #185036
monochromatic
#180717 #210A20 #50184E #7F267C #AE34AA

Accessibility & contrast

On white

13.28
#50184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#50184E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50184E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50184E#FFFFFF#000000##FFFFFF
##50184E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B50
Deuteranopia (green-blind)
#27324D
Tritanopia (blue-blind)
#531F30
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50184e;
/* rgb */ color: rgb(80, 24, 78);
/* oklch */ color: oklch(32.2% 0.110 329.2);
Tailwind
colors: {
  custom: {
    50: '#835a80',
    500: '#50184e',
    950: '#000000',
  },
}
SCSS
$custom: #50184e;
$custom-light: #835a80;
$custom-dark: #000000;
JSON
{
  "hex": "#50184e",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 302.143,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32188,
    "c": 0.11037,
    "h": 329.2
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#50184E
secondary
#3D8740
accent
#DD504B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #50184E

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

Preview Lab → · Contrast checker → · Palette generator →

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