#501457#501457

#501457 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.125 H 323.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#501457
RGBrgb(80, 20, 87)
HSLhsl(294, 63%, 21%)
HSVhsv(294, 77%, 34%)
CMYKcmyk(8%, 77%, 0%, 65.9%)
CIE-LABlab(19.62, 37.25, -26.66)
CIE-LCHlch(19.62, 45.81, 324.41°)
OKLaboklab(32.33% 0.0999 -0.0743)
OKLCHoklch(32.33% 0.125 323.4)
XYZxyz(5.2786, 2.8942, 9.2956)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501457 #1B5714
analogous
#2E1457 #501457 #57143C
triadic
#501457 #575014 #145750
tetradic
#501457 #572E14 #1B5714 #143C57
square
#501457 #572E14 #1B5714 #143C57
split-complementary
#501457 #3C5714 #14572E
monochromatic
#170619 #220925 #501457 #7E1F89 #AC2BBB

Accessibility & contrast

On white

13.30
#501457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#501457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501457
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501457#FFFFFF#000000##FFFFFF
##5014571.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B59
Deuteranopia (green-blind)
#1F3255
Tritanopia (blue-blind)
#512034
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #501457;
/* rgb */ color: rgb(80, 20, 87);
/* oklch */ color: oklch(32.3% 0.125 323.4);
Tailwind
colors: {
  custom: {
    50: '#845887',
    500: '#501457',
    950: '#000000',
  },
}
SCSS
$custom: #501457;
$custom-light: #845887;
$custom-dark: #000000;
JSON
{
  "hex": "#501457",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 293.731,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32327,
    "c": 0.12456,
    "h": 323.4
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#501457
secondary
#418F38
accent
#E64253
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501457

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

Preview Lab → · Contrast checker → · Palette generator →

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