#501147#501147

#501147 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.114 H 334.4°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#501147
RGBrgb(80, 17, 71)
HSLhsl(309, 65%, 19%)
HSVhsv(309, 79%, 31%)
CMYKcmyk(0%, 78.8%, 11.2%, 68.6%)
CIE-LABlab(18.20, 35.42, -18.03)
CIE-LCHlch(18.20, 39.75, 333.03°)
OKLaboklab(30.99% 0.103 -0.0493)
OKLCHoklch(30.99% 0.114 334.4)
XYZxyz(4.6461, 2.5617, 6.2098)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501147 #11501A
analogous
#3A1150 #501147 #501128
triadic
#501147 #475011 #114750
tetradic
#501147 #503A11 #11501A #112850
square
#501147 #503A11 #11501A #112850
split-complementary
#501147 #285011 #11503A
monochromatic
#190516 #1E061A #501147 #821C74 #B526A1

Accessibility & contrast

On white

13.89
#501147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501147
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501147#FFFFFF#000000##FFFFFF
##5011471.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102748
Deuteranopia (green-blind)
#273045
Tritanopia (blue-blind)
#54162A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501147;
/* rgb */ color: rgb(80, 17, 71);
/* oklch */ color: oklch(31.0% 0.114 334.4);
Tailwind
colors: {
  custom: {
    50: '#84567a',
    500: '#501147',
    950: '#000000',
  },
}
SCSS
$custom: #501147;
$custom-light: #84567a;
$custom-dark: #000000;
JSON
{
  "hex": "#501147",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 308.571,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30986,
    "c": 0.11418,
    "h": 334.4
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#501147
secondary
#338940
accent
#E85840
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #501147

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

Preview Lab → · Contrast checker → · Palette generator →

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