#501547#501547

#501547 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.109 H 334.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#501547
RGBrgb(80, 21, 71)
HSLhsl(309, 58%, 20%)
HSVhsv(309, 74%, 31%)
CMYKcmyk(0%, 73.7%, 11.2%, 68.6%)
CIE-LABlab(18.79, 33.76, -17.10)
CIE-LCHlch(18.79, 37.84, 333.14°)
OKLaboklab(31.42% 0.0981 -0.0467)
OKLCHoklch(31.42% 0.109 334.5)
XYZxyz(4.7138, 2.6971, 6.2323)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501547 #15501E
analogous
#3C1550 #501547 #501529
triadic
#501547 #475015 #154750
tetradic
#501547 #503C15 #15501E #152950
square
#501547 #503C15 #15501E #152950
split-complementary
#501547 #295015 #15503C
monochromatic
#180616 #20081C #501547 #802272 #B12E9D

Accessibility & contrast

On white

13.64
#501547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#501547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501547
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501547#FFFFFF#000000##FFFFFF
##5015471.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142848
Deuteranopia (green-blind)
#283146
Tritanopia (blue-blind)
#54192C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501547;
/* rgb */ color: rgb(80, 21, 71);
/* oklch */ color: oklch(31.4% 0.109 334.5);
Tailwind
colors: {
  custom: {
    50: '#83587a',
    500: '#501547',
    950: '#000000',
  },
}
SCSS
$custom: #501547;
$custom-light: #83587a;
$custom-dark: #000000;
JSON
{
  "hex": "#501547",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 309.153,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31415,
    "c": 0.10861,
    "h": 334.5
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#501547
secondary
#398845
accent
#E25E46
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501547

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

Preview Lab → · Contrast checker → · Palette generator →

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