#501863#501863

#501863 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.6% C 0.131 H 316.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#501863
RGBrgb(80, 24, 99)
HSLhsl(285, 61%, 24%)
HSVhsv(285, 76%, 39%)
CMYKcmyk(19.2%, 75.8%, 0%, 61.2%)
CIE-LABlab(21.06, 38.10, -32.32)
CIE-LCHlch(21.06, 49.96, 319.69°)
OKLaboklab(33.62% 0.0945 -0.0909)
OKLCHoklch(33.62% 0.131 316.1)
XYZxyz(5.8867, 3.2598, 12.1211)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501863 #2B6318
analogous
#2B1863 #501863 #631851
triadic
#501863 #635018 #186350
tetradic
#501863 #632B18 #2B6318 #185163
square
#501863 #632B18 #2B6318 #185163
split-complementary
#501863 #516318 #18632B
monochromatic
#140619 #280C32 #501863 #782494 #A030C6

Accessibility & contrast

On white

12.71
#501863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#501863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501863
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501863#FFFFFF#000000##FFFFFF
##5018631.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#183461
Tritanopia (blue-blind)
#4F273C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501863;
/* rgb */ color: rgb(80, 24, 99);
/* oklch */ color: oklch(33.6% 0.131 316.1);
Tailwind
colors: {
  custom: {
    50: '#845b90',
    500: '#501863',
    950: '#000000',
  },
}
SCSS
$custom: #501863;
$custom-light: #845b90;
$custom-dark: #000000;
JSON
{
  "hex": "#501863",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 284.8,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33624,
    "c": 0.13116,
    "h": 316.1
  },
  "luminance": 0.0326
}

Semantic roles & 50–950 ramp

primary
#501863
secondary
#55993E
accent
#E4446C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501863

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

Preview Lab → · Contrast checker → · Palette generator →

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