#501047#501047

#501047 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.9% C 0.115 H 334.4°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#501047
RGBrgb(80, 16, 71)
HSLhsl(308, 67%, 19%)
HSVhsv(308, 80%, 31%)
CMYKcmyk(0%, 80%, 11.2%, 68.6%)
CIE-LABlab(18.06, 35.81, -18.24)
CIE-LCHlch(18.06, 40.19, 333.01°)
OKLaboklab(30.89% 0.1041 -0.0499)
OKLCHoklch(30.89% 0.115 334.4)
XYZxyz(4.6309, 2.5314, 6.2047)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501047 #105019
analogous
#391050 #501047 #501027
triadic
#501047 #475010 #104750
tetradic
#501047 #503910 #105019 #102750
square
#501047 #503910 #105019 #102750
split-complementary
#501047 #275010 #105039
monochromatic
#1A0517 #1D061A #501047 #831A74 #B624A2

Accessibility & contrast

On white

13.94
#501047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#501047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501047
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501047#FFFFFF#000000##FFFFFF
##5010471.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2649
Deuteranopia (green-blind)
#262F45
Tritanopia (blue-blind)
#54162A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501047;
/* rgb */ color: rgb(80, 16, 71);
/* oklch */ color: oklch(30.9% 0.115 334.4);
Tailwind
colors: {
  custom: {
    50: '#84567a',
    500: '#501047',
    950: '#000000',
  },
}
SCSS
$custom: #501047;
$custom-light: #84567a;
$custom-dark: #000000;
JSON
{
  "hex": "#501047",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 308.438,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30888,
    "c": 0.11546,
    "h": 334.4
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#501047
secondary
#328A3E
accent
#EA563E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #501047

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

Preview Lab → · Contrast checker → · Palette generator →

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