#501C50#501C50

#501C50 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.106 H 327.7°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#501C50
RGBrgb(80, 28, 80)
HSLhsl(300, 48%, 21%)
HSVhsv(300, 65%, 31%)
CMYKcmyk(0%, 65%, 0%, 68.6%)
CIE-LABlab(20.50, 32.13, -20.54)
CIE-LCHlch(20.50, 38.14, 327.41°)
OKLaboklab(32.82% 0.0895 -0.0567)
OKLCHoklch(32.82% 0.106 327.7)
XYZxyz(5.1714, 3.1155, 7.9168)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C50 #1C501C
analogous
#361C50 #501C50 #501C36
triadic
#501C50 #50501C #1C5050
tetradic
#501C50 #50361C #1C501C #1C3650
square
#501C50 #50361C #1C501C #1C3650
split-complementary
#501C50 #36501C #1C5036
monochromatic
#170817 #230C23 #501C50 #7D2C7D #AB3CAB

Accessibility & contrast

On white

12.94
#501C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#501C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C50
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C50#FFFFFF#000000##FFFFFF
##501C501.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162D52
Deuteranopia (green-blind)
#28344F
Tritanopia (blue-blind)
#532233
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501c50;
/* rgb */ color: rgb(80, 28, 80);
/* oklch */ color: oklch(32.8% 0.106 327.7);
Tailwind
colors: {
  custom: {
    50: '#835c81',
    500: '#501c50',
    950: '#000000',
  },
}
SCSS
$custom: #501c50;
$custom-light: #835c81;
$custom-dark: #000000;
JSON
{
  "hex": "#501c50",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 300,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32825,
    "c": 0.1059,
    "h": 327.7
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#501C50
secondary
#428642
accent
#D85050
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501C50

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

Preview Lab → · Contrast checker → · Palette generator →

#501C50 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva