#501959#501959

#501959 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 33.0% C 0.120 H 321.7°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#501959
RGBrgb(80, 25, 89)
HSLhsl(292, 56%, 22%)
HSVhsv(292, 72%, 35%)
CMYKcmyk(10.1%, 71.9%, 0%, 65.1%)
CIE-LABlab(20.53, 35.47, -26.54)
CIE-LCHlch(20.53, 44.30, 323.19°)
OKLaboklab(33.02% 0.0939 -0.074)
OKLCHoklch(33.02% 0.12 321.7)
XYZxyz(5.4589, 3.1223, 9.7644)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501959 #225919
analogous
#301959 #501959 #591942
triadic
#501959 #595019 #195950
tetradic
#501959 #593019 #225919 #194259
square
#501959 #593019 #225919 #194259
split-complementary
#501959 #425919 #195930
monochromatic
#150718 #250C29 #501959 #7B2689 #A634B9

Accessibility & contrast

On white

12.93
#501959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#501959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501959
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501959#FFFFFF#000000##FFFFFF
##5019591.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072D5B
Deuteranopia (green-blind)
#213457
Tritanopia (blue-blind)
#512436
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501959;
/* rgb */ color: rgb(80, 25, 89);
/* oklch */ color: oklch(33.0% 0.120 321.7);
Tailwind
colors: {
  custom: {
    50: '#835b88',
    500: '#501959',
    950: '#000000',
  },
}
SCSS
$custom: #501959;
$custom-light: #835b88;
$custom-dark: #000000;
JSON
{
  "hex": "#501959",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 291.563,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33024,
    "c": 0.1196,
    "h": 321.7
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#501959
secondary
#4A8F3E
accent
#DF485E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501959

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

Preview Lab → · Contrast checker → · Palette generator →

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