#501B63#501B63

#501B63 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.127 H 315.7°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#501B63
RGBrgb(80, 27, 99)
HSLhsl(284, 57%, 25%)
HSVhsv(284, 73%, 39%)
CMYKcmyk(19.2%, 72.7%, 0%, 61.2%)
CIE-LABlab(21.54, 36.73, -31.54)
CIE-LCHlch(21.54, 48.41, 319.35°)
OKLaboklab(33.97% 0.091 -0.0887)
OKLCHoklch(33.97% 0.127 315.7)
XYZxyz(5.9520, 3.3904, 12.1428)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B63 #2E631B
analogous
#2C1B63 #501B63 #631B52
triadic
#501B63 #63501B #1B6350
tetradic
#501B63 #632C1B #2E631B #1B5263
square
#501B63 #632C1B #2E631B #1B5263
split-complementary
#501B63 #52631B #1B632C
monochromatic
#130718 #290E33 #501B63 #772893 #9E35C3

Accessibility & contrast

On white

12.51
#501B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#501B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B63
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B63#FFFFFF#000000##FFFFFF
##501B631.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#1A3561
Tritanopia (blue-blind)
#4F293C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501b63;
/* rgb */ color: rgb(80, 27, 99);
/* oklch */ color: oklch(34.0% 0.127 315.7);
Tailwind
colors: {
  custom: {
    50: '#845c90',
    500: '#501b63',
    950: '#000000',
  },
}
SCSS
$custom: #501b63;
$custom-light: #845c90;
$custom-dark: #000000;
JSON
{
  "hex": "#501b63",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 284.167,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33973,
    "c": 0.12704,
    "h": 315.7
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#501B63
secondary
#589841
accent
#E04770
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501B63

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

Preview Lab → · Contrast checker → · Palette generator →

#501B63 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva