#501351#501351

#501351 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.8% C 0.120 H 327.3°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#501351
RGBrgb(80, 19, 81)
HSLhsl(299, 62%, 20%)
HSVhsv(299, 77%, 32%)
CMYKcmyk(1.2%, 76.5%, 0%, 68.2%)
CIE-LABlab(19.08, 36.47, -23.47)
CIE-LCHlch(19.08, 43.37, 327.24°)
OKLaboklab(31.82% 0.1012 -0.065)
OKLCHoklch(31.82% 0.12 327.3)
XYZxyz(5.0263, 2.7656, 8.0521)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501351 #145113
analogous
#311351 #501351 #511333
triadic
#501351 #515013 #135150
tetradic
#501351 #513113 #145113 #133351
square
#501351 #513113 #145113 #133351
split-complementary
#501351 #335113 #135131
monochromatic
#180619 #1F071F #501351 #811F83 #B22AB4

Accessibility & contrast

On white

13.52
#501351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501351
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501351#FFFFFF#000000##FFFFFF
##5013511.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072953
Deuteranopia (green-blind)
#22314F
Tritanopia (blue-blind)
#531C30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501351;
/* rgb */ color: rgb(80, 19, 81);
/* oklch */ color: oklch(31.8% 0.120 327.3);
Tailwind
colors: {
  custom: {
    50: '#845882',
    500: '#501351',
    950: '#000000',
  },
}
SCSS
$custom: #501351;
$custom-light: #845882;
$custom-dark: #000000;
JSON
{
  "hex": "#501351",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 81
  },
  "hsl": {
    "h": 299.032,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.12029,
    "h": 327.3
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#501351
secondary
#388A36
accent
#E54345
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #501351

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

Preview Lab → · Contrast checker → · Palette generator →

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