#501F63#501F63

#501F63 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.5% C 0.121 H 315.2°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#501F63
RGBrgb(80, 31, 99)
HSLhsl(283, 52%, 25%)
HSVhsv(283, 69%, 39%)
CMYKcmyk(19.2%, 68.7%, 0%, 61.2%)
CIE-LABlab(22.25, 34.75, -30.40)
CIE-LCHlch(22.25, 46.17, 318.82°)
OKLaboklab(34.48% 0.0859 -0.0854)
OKLCHoklch(34.48% 0.121 315.2)
XYZxyz(6.0500, 3.5865, 12.1755)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F63 #32631F
analogous
#2E1F63 #501F63 #631F54
triadic
#501F63 #63501F #1F6350
tetradic
#501F63 #632E1F #32631F #1F5463
square
#501F63 #632E1F #32631F #1F5463
split-complementary
#501F63 #54631F #1F632E
monochromatic
#130717 #2A1034 #501F63 #762E92 #9B3CC0

Accessibility & contrast

On white

12.23
#501F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#501F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F63
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F63#FFFFFF#000000##FFFFFF
##501F631.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043265
Deuteranopia (green-blind)
#1E3761
Tritanopia (blue-blind)
#4F2C3E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501f63;
/* rgb */ color: rgb(80, 31, 99);
/* oklch */ color: oklch(34.5% 0.121 315.2);
Tailwind
colors: {
  custom: {
    50: '#845e90',
    500: '#501f63',
    950: '#000000',
  },
}
SCSS
$custom: #501f63;
$custom-light: #845e90;
$custom-dark: #000000;
JSON
{
  "hex": "#501f63",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 283.235,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34483,
    "c": 0.12111,
    "h": 315.2
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#501F63
secondary
#5D9846
accent
#DC4C74
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #501F63

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

Preview Lab → · Contrast checker → · Palette generator →

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