#501964#501964

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

Color values

HEX#501964
RGBrgb(80, 25, 100)
HSLhsl(284, 60%, 25%)
HSVhsv(284, 75%, 39%)
CMYKcmyk(20%, 75%, 0%, 60.8%)
CIE-LABlab(21.29, 37.88, -32.61)
CIE-LCHlch(21.29, 49.98, 319.28°)
OKLaboklab(33.81% 0.0933 -0.0918)
OKLCHoklch(33.81% 0.131 315.5)
XYZxyz(5.9558, 3.3211, 12.3814)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501964 #2D6419
analogous
#2B1964 #501964 #641953
triadic
#501964 #645019 #196450
tetradic
#501964 #642B19 #2D6419 #195364
square
#501964 #642B19 #2D6419 #195364
split-complementary
#501964 #536419 #19642B
monochromatic
#140618 #290D33 #501964 #772595 #9E31C6

Accessibility & contrast

On white

12.62
#501964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#501964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501964
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501964#FFFFFF#000000##FFFFFF
##5019641.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#173562
Tritanopia (blue-blind)
#4F283C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501964;
/* rgb */ color: rgb(80, 25, 100);
/* oklch */ color: oklch(33.8% 0.131 315.5);
Tailwind
colors: {
  custom: {
    50: '#845b91',
    500: '#501964',
    950: '#000000',
  },
}
SCSS
$custom: #501964;
$custom-light: #845b91;
$custom-dark: #000000;
JSON
{
  "hex": "#501964",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 284,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33811,
    "c": 0.13085,
    "h": 315.5
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#501964
secondary
#579A3F
accent
#E3456F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #501964

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

Preview Lab → · Contrast checker → · Palette generator →

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