#501759#501759

#501759 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.122 H 321.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#501759
RGBrgb(80, 23, 89)
HSLhsl(292, 59%, 22%)
HSVhsv(292, 74%, 35%)
CMYKcmyk(10.1%, 74.2%, 0%, 65.1%)
CIE-LABlab(20.20, 36.38, -27.06)
CIE-LCHlch(20.20, 45.34, 323.36°)
OKLaboklab(32.79% 0.0964 -0.0755)
OKLCHoklch(32.79% 0.122 321.9)
XYZxyz(5.4176, 3.0398, 9.7506)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501759 #205917
analogous
#2F1759 #501759 #591741
triadic
#501759 #595017 #175950
tetradic
#501759 #592F17 #205917 #174159
square
#501759 #592F17 #205917 #174159
split-complementary
#501759 #415917 #17592F
monochromatic
#160618 #240A28 #501759 #7C248A #A730BA

Accessibility & contrast

On white

13.06
#501759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#501759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501759
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501759#FFFFFF#000000##FFFFFF
##5017591.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5B
Deuteranopia (green-blind)
#1F3357
Tritanopia (blue-blind)
#512336
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501759;
/* rgb */ color: rgb(80, 23, 89);
/* oklch */ color: oklch(32.8% 0.122 321.9);
Tailwind
colors: {
  custom: {
    50: '#845a88',
    500: '#501759',
    950: '#000000',
  },
}
SCSS
$custom: #501759;
$custom-light: #845a88;
$custom-dark: #000000;
JSON
{
  "hex": "#501759",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 89
  },
  "hsl": {
    "h": 291.818,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32791,
    "c": 0.12246,
    "h": 321.9
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#501759
secondary
#47903C
accent
#E2465B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501759

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

Preview Lab → · Contrast checker → · Palette generator →

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