#501869#501869

#501869 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.137 H 313.0°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#501869
RGBrgb(80, 24, 105)
HSLhsl(281, 63%, 25%)
HSVhsv(281, 77%, 41%)
CMYKcmyk(23.8%, 77.1%, 0%, 58.8%)
CIE-LABlab(21.50, 39.46, -35.53)
CIE-LCHlch(21.50, 53.10, 318.00°)
OKLaboklab(34.08% 0.0937 -0.1004)
OKLCHoklch(34.08% 0.137 313)
XYZxyz(6.1842, 3.3789, 13.6883)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501869 #316918
analogous
#271869 #501869 #69185A
triadic
#501869 #695018 #186950
tetradic
#501869 #692718 #316918 #185A69
square
#501869 #692718 #316918 #185A69
split-complementary
#501869 #5A6918 #186927
monochromatic
#130619 #2A0D37 #501869 #76239B #9C2FCD

Accessibility & contrast

On white

12.53
#501869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#501869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501869
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501869#FFFFFF#000000##FFFFFF
##5018691.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316B
Deuteranopia (green-blind)
#103567
Tritanopia (blue-blind)
#4D2A3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501869;
/* rgb */ color: rgb(80, 24, 105);
/* oklch */ color: oklch(34.1% 0.137 313.0);
Tailwind
colors: {
  custom: {
    50: '#845b94',
    500: '#501869',
    950: '#000000',
  },
}
SCSS
$custom: #501869;
$custom-light: #845b94;
$custom-dark: #000000;
JSON
{
  "hex": "#501869",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 281.481,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34082,
    "c": 0.13732,
    "h": 313
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#501869
secondary
#5C9F3E
accent
#E64275
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501869

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

Preview Lab → · Contrast checker → · Palette generator →

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