#501647#501647

#501647 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.107 H 334.6°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#501647
RGBrgb(80, 22, 71)
HSLhsl(309, 57%, 20%)
HSVhsv(309, 73%, 31%)
CMYKcmyk(0%, 72.5%, 11.2%, 68.6%)
CIE-LABlab(18.95, 33.31, -16.85)
CIE-LCHlch(18.95, 37.33, 333.17°)
OKLaboklab(31.53% 0.0968 -0.046)
OKLCHoklch(31.53% 0.107 334.6)
XYZxyz(4.7325, 2.7346, 6.2386)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501647 #16501F
analogous
#3C1650 #501647 #50162A
triadic
#501647 #475016 #164750
tetradic
#501647 #503C16 #16501F #162A50
square
#501647 #503C16 #16501F #162A50
split-complementary
#501647 #2A5016 #16503C
monochromatic
#180715 #20091C #501647 #802372 #B0309C

Accessibility & contrast

On white

13.58
#501647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501647
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501647#FFFFFF#000000##FFFFFF
##5016471.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501647;
/* rgb */ color: rgb(80, 22, 71);
/* oklch */ color: oklch(31.5% 0.107 334.6);
Tailwind
colors: {
  custom: {
    50: '#83597a',
    500: '#501647',
    950: '#000000',
  },
}
SCSS
$custom: #501647;
$custom-light: #83597a;
$custom-dark: #000000;
JSON
{
  "hex": "#501647",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 309.31,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.31531,
    "c": 0.10712,
    "h": 334.6
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#501647
secondary
#3A8746
accent
#E05F48
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501647

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

Preview Lab → · Contrast checker → · Palette generator →

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