#501957#501957

#501957 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.9% C 0.118 H 323.0°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#501957
RGBrgb(80, 25, 87)
HSLhsl(293, 55%, 22%)
HSVhsv(293, 71%, 34%)
CMYKcmyk(8%, 71.3%, 0%, 65.9%)
CIE-LABlab(20.40, 35.04, -25.41)
CIE-LCHlch(20.40, 43.29, 324.05°)
OKLaboklab(32.89% 0.0939 -0.0708)
OKLCHoklch(32.89% 0.118 323)
XYZxyz(5.3760, 3.0892, 9.3281)
Luminance0.0309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501957 #205719
analogous
#311957 #501957 #57193F
triadic
#501957 #575019 #195750
tetradic
#501957 #573119 #205719 #193F57
square
#501957 #573119 #205719 #193F57
split-complementary
#501957 #3F5719 #195731
monochromatic
#160718 #240B27 #501957 #7C2787 #A734B6

Accessibility & contrast

On white

12.98
#501957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#501957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501957
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501957#FFFFFF#000000##FFFFFF
##5019571.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2D59
Deuteranopia (green-blind)
#223355
Tritanopia (blue-blind)
#512335
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501957;
/* rgb */ color: rgb(80, 25, 87);
/* oklch */ color: oklch(32.9% 0.118 323.0);
Tailwind
colors: {
  custom: {
    50: '#835b87',
    500: '#501957',
    950: '#000000',
  },
}
SCSS
$custom: #501957;
$custom-light: #835b87;
$custom-dark: #000000;
JSON
{
  "hex": "#501957",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 293.226,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32889,
    "c": 0.11759,
    "h": 323
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#501957
secondary
#478D3E
accent
#DF495A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501957

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

Preview Lab → · Contrast checker → · Palette generator →

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