#50194E#50194E

#50194E is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.3% C 0.109 H 329.2°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#50194E
RGBrgb(80, 25, 78)
HSLhsl(302, 52%, 21%)
HSVhsv(302, 69%, 31%)
CMYKcmyk(0%, 68.8%, 2.5%, 68.6%)
CIE-LABlab(19.85, 33.22, -20.22)
CIE-LCHlch(19.85, 38.89, 328.67°)
OKLaboklab(32.31% 0.0935 -0.0557)
OKLCHoklch(32.31% 0.109 329.2)
XYZxyz(5.0310, 2.9511, 7.5109)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50194E #19501B
analogous
#361950 #50194E #501932
triadic
#50194E #4E5019 #194E50
tetradic
#50194E #503619 #19501B #193250
square
#50194E #503619 #19501B #193250
split-complementary
#50194E #325019 #195036
monochromatic
#170717 #210A21 #50194E #7F287B #AD36A9

Accessibility & contrast

On white

13.21
#50194E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#50194E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50194E
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50194E#FFFFFF#000000##FFFFFF
##50194E1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B50
Deuteranopia (green-blind)
#27334D
Tritanopia (blue-blind)
#531F31
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50194e;
/* rgb */ color: rgb(80, 25, 78);
/* oklch */ color: oklch(32.3% 0.109 329.2);
Tailwind
colors: {
  custom: {
    50: '#835a80',
    500: '#50194e',
    950: '#000000',
  },
}
SCSS
$custom: #50194e;
$custom-light: #835a80;
$custom-dark: #000000;
JSON
{
  "hex": "#50194e",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 78
  },
  "hsl": {
    "h": 302.182,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32312,
    "c": 0.10882,
    "h": 329.2
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#50194E
secondary
#3E8641
accent
#DC514C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #50194E

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

Preview Lab → · Contrast checker → · Palette generator →

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