#501861#501861

#501861 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.129 H 317.2°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#501861
RGBrgb(80, 24, 97)
HSLhsl(286, 60%, 24%)
HSVhsv(286, 75%, 38%)
CMYKcmyk(17.5%, 75.3%, 0%, 62%)
CIE-LABlab(20.91, 37.66, -31.23)
CIE-LCHlch(20.91, 48.93, 320.33°)
OKLaboklab(33.48% 0.0947 -0.0878)
OKLCHoklch(33.48% 0.129 317.2)
XYZxyz(5.7923, 3.2221, 11.6238)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501861 #296118
analogous
#2B1861 #501861 #61184D
triadic
#501861 #615018 #186150
tetradic
#501861 #612B18 #296118 #184D61
square
#501861 #612B18 #296118 #184D61
split-complementary
#501861 #4D6118 #18612B
monochromatic
#140619 #280C30 #501861 #782492 #A130C3

Accessibility & contrast

On white

12.77
#501861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#501861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501861
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501861#FFFFFF#000000##FFFFFF
##5018611.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F63
Deuteranopia (green-blind)
#1A345F
Tritanopia (blue-blind)
#4F273B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501861;
/* rgb */ color: rgb(80, 24, 97);
/* oklch */ color: oklch(33.5% 0.129 317.2);
Tailwind
colors: {
  custom: {
    50: '#845b8e',
    500: '#501861',
    950: '#000000',
  },
}
SCSS
$custom: #501861;
$custom-light: #845b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#501861",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 286.027,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33475,
    "c": 0.12911,
    "h": 317.2
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#501861
secondary
#52973D
accent
#E34469
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501861

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

Preview Lab → · Contrast checker → · Palette generator →

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