#501757#501757

#501757 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.120 H 323.2°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#501757
RGBrgb(80, 23, 87)
HSLhsl(293, 58%, 22%)
HSVhsv(293, 74%, 34%)
CMYKcmyk(8%, 73.6%, 0%, 65.9%)
CIE-LABlab(20.07, 35.96, -25.93)
CIE-LCHlch(20.07, 44.34, 324.20°)
OKLaboklab(32.65% 0.0964 -0.0722)
OKLCHoklch(32.65% 0.12 323.2)
XYZxyz(5.3348, 3.0067, 9.3143)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501757 #1E5717
analogous
#301757 #501757 #57173E
triadic
#501757 #575017 #175750
tetradic
#501757 #573017 #1E5717 #173E57
square
#501757 #573017 #1E5717 #173E57
split-complementary
#501757 #3E5717 #175730
monochromatic
#160618 #230A27 #501757 #7D2487 #A931B8

Accessibility & contrast

On white

13.12
#501757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501757
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501757#FFFFFF#000000##FFFFFF
##5017571.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062C59
Deuteranopia (green-blind)
#213355
Tritanopia (blue-blind)
#512235
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501757;
/* rgb */ color: rgb(80, 23, 87);
/* oklch */ color: oklch(32.7% 0.120 323.2);
Tailwind
colors: {
  custom: {
    50: '#845a87',
    500: '#501757',
    950: '#000000',
  },
}
SCSS
$custom: #501757;
$custom-light: #845a87;
$custom-dark: #000000;
JSON
{
  "hex": "#501757",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 87
  },
  "hsl": {
    "h": 293.438,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32654,
    "c": 0.12049,
    "h": 323.2
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#501757
secondary
#458E3C
accent
#E14657
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501757

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

Preview Lab → · Contrast checker → · Palette generator →

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