#501956#501956

#501956 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.117 H 323.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#501956
RGBrgb(80, 25, 86)
HSLhsl(294, 55%, 22%)
HSVhsv(294, 71%, 34%)
CMYKcmyk(7%, 70.9%, 0%, 66.3%)
CIE-LABlab(20.33, 34.84, -24.84)
CIE-LCHlch(20.33, 42.79, 324.50°)
OKLaboklab(32.82% 0.0939 -0.0691)
OKLCHoklch(32.82% 0.117 323.7)
XYZxyz(5.3355, 3.0729, 9.1144)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501956 #1F5619
analogous
#321956 #501956 #56193E
triadic
#501956 #565019 #195650
tetradic
#501956 #563219 #1F5619 #193E56
square
#501956 #563219 #1F5619 #193E56
split-complementary
#501956 #3E5619 #195632
monochromatic
#160718 #240B27 #501956 #7C2785 #A835B5

Accessibility & contrast

On white

13.01
#501956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#501956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501956
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501956#FFFFFF#000000##FFFFFF
##5019561.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2D58
Deuteranopia (green-blind)
#233354
Tritanopia (blue-blind)
#522335
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501956;
/* rgb */ color: rgb(80, 25, 86);
/* oklch */ color: oklch(32.8% 0.117 323.7);
Tailwind
colors: {
  custom: {
    50: '#835b86',
    500: '#501956',
    950: '#000000',
  },
}
SCSS
$custom: #501956;
$custom-light: #835b86;
$custom-dark: #000000;
JSON
{
  "hex": "#501956",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 294.098,
    "s": 54.955,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32822,
    "c": 0.11659,
    "h": 323.7
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#501956
secondary
#468C3E
accent
#DE4A58
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501956

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

Preview Lab → · Contrast checker → · Palette generator →

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