#501950#501950

#501950 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.111 H 327.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#501950
RGBrgb(80, 25, 80)
HSLhsl(300, 52%, 21%)
HSVhsv(300, 69%, 31%)
CMYKcmyk(0%, 68.8%, 0%, 68.6%)
CIE-LABlab(19.96, 33.61, -21.39)
CIE-LCHlch(19.96, 39.84, 327.53°)
OKLaboklab(32.44% 0.0937 -0.0591)
OKLCHoklch(32.44% 0.111 327.8)
XYZxyz(5.1038, 2.9803, 7.8943)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501950 #195019
analogous
#341950 #501950 #501934
triadic
#501950 #505019 #195050
tetradic
#501950 #503419 #195019 #193450
square
#501950 #503419 #195019 #193450
split-complementary
#501950 #345019 #195034
monochromatic
#170717 #210A21 #501950 #7F287F #AD36AD

Accessibility & contrast

On white

13.16
#501950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#501950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501950
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501950#FFFFFF#000000##FFFFFF
##5019501.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122C52
Deuteranopia (green-blind)
#26334F
Tritanopia (blue-blind)
#532032
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501950;
/* rgb */ color: rgb(80, 25, 80);
/* oklch */ color: oklch(32.4% 0.111 327.8);
Tailwind
colors: {
  custom: {
    50: '#835a81',
    500: '#501950',
    950: '#000000',
  },
}
SCSS
$custom: #501950;
$custom-light: #835a81;
$custom-dark: #000000;
JSON
{
  "hex": "#501950",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 300,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32436,
    "c": 0.11072,
    "h": 327.8
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#501950
secondary
#3E863E
accent
#DC4C4C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501950

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

Preview Lab → · Contrast checker → · Palette generator →

#501950 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva