#501761#501761

#501761 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.130 H 317.3°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#501761
RGBrgb(80, 23, 97)
HSLhsl(286, 62%, 24%)
HSVhsv(286, 76%, 38%)
CMYKcmyk(17.5%, 76.3%, 0%, 62%)
CIE-LABlab(20.76, 38.10, -31.48)
CIE-LCHlch(20.76, 49.42, 320.43°)
OKLaboklab(33.37% 0.0958 -0.0885)
OKLCHoklch(33.37% 0.13 317.3)
XYZxyz(5.7720, 3.1816, 11.6170)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501761 #286117
analogous
#2B1761 #501761 #61174D
triadic
#501761 #615017 #176150
tetradic
#501761 #612B17 #286117 #174D61
square
#501761 #612B17 #286117 #174D61
split-complementary
#501761 #4D6117 #17612B
monochromatic
#140619 #270B30 #501761 #792392 #A22EC4

Accessibility & contrast

On white

12.83
#501761 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#501761 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501761
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501761#FFFFFF#000000##FFFFFF
##5017611.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E63
Deuteranopia (green-blind)
#19345F
Tritanopia (blue-blind)
#4F263A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501761;
/* rgb */ color: rgb(80, 23, 97);
/* oklch */ color: oklch(33.4% 0.130 317.3);
Tailwind
colors: {
  custom: {
    50: '#845a8e',
    500: '#501761',
    950: '#000000',
  },
}
SCSS
$custom: #501761;
$custom-light: #845a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#501761",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 97
  },
  "hsl": {
    "h": 286.216,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33365,
    "c": 0.13044,
    "h": 317.3
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#501761
secondary
#51983C
accent
#E54368
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501761

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

Preview Lab → · Contrast checker → · Palette generator →

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