#501558#501558

#501558 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.124 H 322.7°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#501558
RGBrgb(80, 21, 88)
HSLhsl(293, 61%, 21%)
HSVhsv(293, 76%, 35%)
CMYKcmyk(9.1%, 76.1%, 0%, 65.5%)
CIE-LABlab(19.83, 37.04, -26.99)
CIE-LCHlch(19.83, 45.83, 323.92°)
OKLaboklab(32.5% 0.0988 -0.0753)
OKLCHoklch(32.5% 0.124 322.7)
XYZxyz(5.3377, 2.9467, 9.5182)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501558 #1D5815
analogous
#2F1558 #501558 #58153F
triadic
#501558 #585015 #155850
tetradic
#501558 #582F15 #1D5815 #153F58
square
#501558 #582F15 #1D5815 #153F58
split-complementary
#501558 #3F5815 #15582F
monochromatic
#160619 #230927 #501558 #7D2189 #AA2DBB

Accessibility & contrast

On white

13.21
#501558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#501558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501558
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501558#FFFFFF#000000##FFFFFF
##5015581.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5A
Deuteranopia (green-blind)
#1F3256
Tritanopia (blue-blind)
#512135
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501558;
/* rgb */ color: rgb(80, 21, 88);
/* oklch */ color: oklch(32.5% 0.124 322.7);
Tailwind
colors: {
  custom: {
    50: '#845987',
    500: '#501558',
    950: '#000000',
  },
}
SCSS
$custom: #501558;
$custom-light: #845987;
$custom-dark: #000000;
JSON
{
  "hex": "#501558",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 292.836,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32502,
    "c": 0.12421,
    "h": 322.7
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#501558
secondary
#449039
accent
#E54356
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501558

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

Preview Lab → · Contrast checker → · Palette generator →

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