#501968#501968

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

Color values

HEX#501968
RGBrgb(80, 25, 104)
HSLhsl(282, 61%, 25%)
HSVhsv(282, 76%, 41%)
CMYKcmyk(23.1%, 76%, 0%, 59.2%)
CIE-LABlab(21.58, 38.79, -34.75)
CIE-LCHlch(21.58, 52.08, 318.14°)
OKLaboklab(34.12% 0.0928 -0.0981)
OKLCHoklch(34.12% 0.135 313.4)
XYZxyz(6.1542, 3.4004, 13.4262)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501968 #316819
analogous
#281968 #501968 #681958
triadic
#501968 #685019 #196850
tetradic
#501968 #682819 #316819 #195868
square
#501968 #682819 #316819 #195868
split-complementary
#501968 #586819 #196828
monochromatic
#130619 #2A0D37 #501968 #762599 #9C31CB

Accessibility & contrast

On white

12.50
#501968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501968
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501968#FFFFFF#000000##FFFFFF
##5019681.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#123566
Tritanopia (blue-blind)
#4E2A3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501968;
/* rgb */ color: rgb(80, 25, 104);
/* oklch */ color: oklch(34.1% 0.135 313.4);
Tailwind
colors: {
  custom: {
    50: '#845b94',
    500: '#501968',
    950: '#000000',
  },
}
SCSS
$custom: #501968;
$custom-light: #845b94;
$custom-dark: #000000;
JSON
{
  "hex": "#501968",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 281.772,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34115,
    "c": 0.13501,
    "h": 313.4
  },
  "luminance": 0.034
}

Semantic roles & 50–950 ramp

primary
#501968
secondary
#5C9E3F
accent
#E44374
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501968

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

Preview Lab → · Contrast checker → · Palette generator →

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