#501756#501756

#501756 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.6% C 0.120 H 323.8°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#501756
RGBrgb(80, 23, 86)
HSLhsl(294, 58%, 21%)
HSVhsv(294, 73%, 34%)
CMYKcmyk(7%, 73.3%, 0%, 66.3%)
CIE-LABlab(20.01, 35.75, -25.37)
CIE-LCHlch(20.01, 43.84, 324.65°)
OKLaboklab(32.59% 0.0964 -0.0706)
OKLCHoklch(32.59% 0.12 323.8)
XYZxyz(5.2942, 2.9905, 9.1007)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501756 #1D5617
analogous
#311756 #501756 #56173D
triadic
#501756 #565017 #175650
tetradic
#501756 #563117 #1D5617 #173D56
square
#501756 #563117 #1D5617 #173D56
split-complementary
#501756 #3D5617 #175631
monochromatic
#160618 #230A26 #501756 #7D2486 #AA31B7

Accessibility & contrast

On white

13.14
#501756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501756
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501756#FFFFFF#000000##FFFFFF
##5017561.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072C58
Deuteranopia (green-blind)
#223354
Tritanopia (blue-blind)
#522134
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501756;
/* rgb */ color: rgb(80, 23, 86);
/* oklch */ color: oklch(32.6% 0.120 323.8);
Tailwind
colors: {
  custom: {
    50: '#835a86',
    500: '#501756',
    950: '#000000',
  },
}
SCSS
$custom: #501756;
$custom-light: #835a86;
$custom-dark: #000000;
JSON
{
  "hex": "#501756",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 294.286,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32586,
    "c": 0.11951,
    "h": 323.8
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#501756
secondary
#448D3C
accent
#E14755
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501756

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

Preview Lab → · Contrast checker → · Palette generator →

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