#501948#501948

#501948 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.0% C 0.103 H 333.9°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#501948
RGBrgb(80, 25, 72)
HSLhsl(309, 52%, 21%)
HSVhsv(309, 69%, 31%)
CMYKcmyk(0%, 68.8%, 10%, 68.6%)
CIE-LABlab(19.51, 32.08, -16.65)
CIE-LCHlch(19.51, 36.14, 332.56°)
OKLaboklab(31.96% 0.0928 -0.0454)
OKLCHoklch(31.96% 0.103 333.9)
XYZxyz(4.8256, 2.8690, 6.4292)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501948 #195021
analogous
#3C1950 #501948 #50192C
triadic
#501948 #485019 #194850
tetradic
#501948 #503C19 #195021 #192C50
square
#501948 #503C19 #195021 #192C50
split-complementary
#501948 #2C5019 #19503C
monochromatic
#170715 #210A1E #501948 #7F2872 #AD369C

Accessibility & contrast

On white

13.34
#501948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#501948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501948
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501948#FFFFFF#000000##FFFFFF
##5019481.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A49
Deuteranopia (green-blind)
#2A3247
Tritanopia (blue-blind)
#541D2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #501948;
/* rgb */ color: rgb(80, 25, 72);
/* oklch */ color: oklch(32.0% 0.103 333.9);
Tailwind
colors: {
  custom: {
    50: '#835a7b',
    500: '#501948',
    950: '#000000',
  },
}
SCSS
$custom: #501948;
$custom-light: #835a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#501948",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 308.727,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31959,
    "c": 0.10329,
    "h": 333.9
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#501948
secondary
#3E8649
accent
#DC614C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501948

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

Preview Lab → · Contrast checker → · Palette generator →

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