#501C52#501C52

#501C52 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.9% C 0.108 H 326.2°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#501C52
RGBrgb(80, 28, 82)
HSLhsl(298, 49%, 22%)
HSVhsv(298, 66%, 32%)
CMYKcmyk(2.4%, 65.9%, 0%, 67.8%)
CIE-LABlab(20.62, 32.54, -21.71)
CIE-LCHlch(20.62, 39.12, 326.29°)
OKLaboklab(32.95% 0.0896 -0.06)
OKLCHoklch(32.95% 0.108 326.2)
XYZxyz(5.2464, 3.1455, 8.3118)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C52 #1E521C
analogous
#351C52 #501C52 #521C39
triadic
#501C52 #52501C #1C5250
tetradic
#501C52 #52351C #1E521C #1C3952
square
#501C52 #52351C #1E521C #1C3952
split-complementary
#501C52 #39521C #1C5235
monochromatic
#160817 #230C24 #501C52 #7D2C80 #A93BAD

Accessibility & contrast

On white

12.89
#501C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#501C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C52
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C52#FFFFFF#000000##FFFFFF
##501C521.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142D54
Deuteranopia (green-blind)
#273451
Tritanopia (blue-blind)
#522334
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501c52;
/* rgb */ color: rgb(80, 28, 82);
/* oklch */ color: oklch(32.9% 0.108 326.2);
Tailwind
colors: {
  custom: {
    50: '#835c83',
    500: '#501c52',
    950: '#000000',
  },
}
SCSS
$custom: #501c52;
$custom-light: #835c83;
$custom-dark: #000000;
JSON
{
  "hex": "#501c52",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 297.778,
    "s": 49.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32948,
    "c": 0.10789,
    "h": 326.2
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#501C52
secondary
#458842
accent
#D94F54
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501C52

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

Preview Lab → · Contrast checker → · Palette generator →

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