#501348#501348

#501348 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.3% C 0.112 H 333.7°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#501348
RGBrgb(80, 19, 72)
HSLhsl(308, 62%, 19%)
HSVhsv(308, 76%, 31%)
CMYKcmyk(0%, 76.3%, 10%, 68.6%)
CIE-LABlab(18.54, 34.79, -18.18)
CIE-LCHlch(18.54, 39.26, 332.42°)
OKLaboklab(31.25% 0.1007 -0.0498)
OKLCHoklch(31.25% 0.112 333.7)
XYZxyz(4.7109, 2.6395, 6.3910)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501348 #13501B
analogous
#3A1350 #501348 #50132A
triadic
#501348 #485013 #134850
tetradic
#501348 #503A13 #13501B #132A50
square
#501348 #503A13 #13501B #132A50
split-complementary
#501348 #2A5013 #13503A
monochromatic
#190616 #1F071B #501348 #811F75 #B32AA1

Accessibility & contrast

On white

13.75
#501348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#501348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501348
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501348#FFFFFF#000000##FFFFFF
##5013481.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112749
Deuteranopia (green-blind)
#273046
Tritanopia (blue-blind)
#54182B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #501348;
/* rgb */ color: rgb(80, 19, 72);
/* oklch */ color: oklch(31.3% 0.112 333.7);
Tailwind
colors: {
  custom: {
    50: '#84577b',
    500: '#501348',
    950: '#000000',
  },
}
SCSS
$custom: #501348;
$custom-light: #84577b;
$custom-dark: #000000;
JSON
{
  "hex": "#501348",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 307.869,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31252,
    "c": 0.11232,
    "h": 333.7
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#501348
secondary
#368941
accent
#E55843
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #501348

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

Preview Lab → · Contrast checker → · Palette generator →

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