#501850#501850

#501850 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.3% C 0.112 H 327.8°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#501850
RGBrgb(80, 24, 80)
HSLhsl(300, 54%, 20%)
HSVhsv(300, 70%, 31%)
CMYKcmyk(0%, 70%, 0%, 68.6%)
CIE-LABlab(19.80, 34.09, -21.66)
CIE-LCHlch(19.80, 40.38, 327.57°)
OKLaboklab(32.31% 0.095 -0.0598)
OKLCHoklch(32.31% 0.112 327.8)
XYZxyz(5.0828, 2.9383, 7.8873)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501850 #185018
analogous
#341850 #501850 #501834
triadic
#501850 #505018 #185050
tetradic
#501850 #503418 #185018 #183450
square
#501850 #503418 #185018 #183450
split-complementary
#501850 #345018 #185034
monochromatic
#180718 #210A21 #501850 #7F267F #AE34AE

Accessibility & contrast

On white

13.23
#501850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#501850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501850
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501850#FFFFFF#000000##FFFFFF
##5018501.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B52
Deuteranopia (green-blind)
#26324E
Tritanopia (blue-blind)
#531F31
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501850;
/* rgb */ color: rgb(80, 24, 80);
/* oklch */ color: oklch(32.3% 0.112 327.8);
Tailwind
colors: {
  custom: {
    50: '#835a81',
    500: '#501850',
    950: '#000000',
  },
}
SCSS
$custom: #501850;
$custom-light: #835a81;
$custom-dark: #000000;
JSON
{
  "hex": "#501850",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 300,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32313,
    "c": 0.11227,
    "h": 327.8
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#501850
secondary
#3D873D
accent
#DD4B4B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501850

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

Preview Lab → · Contrast checker → · Palette generator →

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