#501070#501070

#501070 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.9% C 0.153 H 310.6°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#501070
RGBrgb(80, 16, 112)
HSLhsl(280, 75%, 25%)
HSVhsv(280, 86%, 44%)
CMYKcmyk(28.6%, 85.7%, 0%, 56.1%)
CIE-LABlab(21.00, 44.10, -40.89)
CIE-LCHlch(21.00, 60.14, 317.17°)
OKLaboklab(33.91% 0.0996 -0.116)
OKLCHoklch(33.91% 0.153 310.6)
XYZxyz(6.4176, 3.2461, 15.6146)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501070 #307010
analogous
#201070 #501070 #701060
triadic
#501070 #705010 #107050
tetradic
#501070 #702010 #307010 #106070
square
#501070 #702010 #307010 #106070
split-complementary
#501070 #607010 #107020
monochromatic
#13041B #2A083A #501070 #7618A6 #9C1FDB

Accessibility & contrast

On white

12.73
#501070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#501070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501070
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501070#FFFFFF#000000##FFFFFF
##5010701.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#4C2941
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501070;
/* rgb */ color: rgb(80, 16, 112);
/* oklch */ color: oklch(33.9% 0.153 310.6);
Tailwind
colors: {
  custom: {
    50: '#85589a',
    500: '#501070',
    950: '#000000',
  },
}
SCSS
$custom: #501070;
$custom-light: #85589a;
$custom-dark: #000000;
JSON
{
  "hex": "#501070",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 280,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33909,
    "c": 0.15293,
    "h": 310.6
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#501070
secondary
#5BA834
accent
#F23675
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501070

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

Preview Lab → · Contrast checker → · Palette generator →

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