#501747#501747

#501747 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.106 H 334.6°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#501747
RGBrgb(80, 23, 71)
HSLhsl(309, 55%, 20%)
HSVhsv(309, 71%, 31%)
CMYKcmyk(0%, 71.2%, 11.2%, 68.6%)
CIE-LABlab(19.11, 32.85, -16.59)
CIE-LCHlch(19.11, 36.80, 333.20°)
OKLaboklab(31.65% 0.0954 -0.0452)
OKLCHoklch(31.65% 0.106 334.6)
XYZxyz(4.7520, 2.7736, 6.2451)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501747 #175020
analogous
#3D1750 #501747 #50172A
triadic
#501747 #475017 #174750
tetradic
#501747 #503D17 #175020 #172A50
square
#501747 #503D17 #175020 #172A50
split-complementary
#501747 #2A5017 #17503D
monochromatic
#180715 #20091D #501747 #802571 #AF329B

Accessibility & contrast

On white

13.51
#501747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#501747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501747
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501747#FFFFFF#000000##FFFFFF
##5017471.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172948
Deuteranopia (green-blind)
#293146
Tritanopia (blue-blind)
#541B2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501747;
/* rgb */ color: rgb(80, 23, 71);
/* oklch */ color: oklch(31.7% 0.106 334.6);
Tailwind
colors: {
  custom: {
    50: '#83597a',
    500: '#501747',
    950: '#000000',
  },
}
SCSS
$custom: #501747;
$custom-light: #83597a;
$custom-dark: #000000;
JSON
{
  "hex": "#501747",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 309.474,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31651,
    "c": 0.10559,
    "h": 334.6
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#501747
secondary
#3C8748
accent
#DF6149
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501747

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

Preview Lab → · Contrast checker → · Palette generator →

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