#501058#501058

#501058 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.130 H 323.0°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#501058
RGBrgb(80, 16, 88)
HSLhsl(293, 69%, 20%)
HSVhsv(293, 82%, 35%)
CMYKcmyk(9.1%, 81.8%, 0%, 65.5%)
CIE-LABlab(19.14, 38.99, -28.08)
CIE-LCHlch(19.14, 48.05, 324.24°)
OKLaboklab(32.01% 0.1041 -0.0785)
OKLCHoklch(32.01% 0.13 323)
XYZxyz(5.2548, 2.7810, 9.4906)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501058 #185810
analogous
#2C1058 #501058 #58103C
triadic
#501058 #585010 #105850
tetradic
#501058 #582C10 #185810 #103C58
square
#501058 #582C10 #185810 #103C58
split-complementary
#501058 #3C5810 #10582C
monochromatic
#18051A #210724 #501058 #7F198C #AE23C0

Accessibility & contrast

On white

13.49
#501058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#501058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501058
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501058#FFFFFF#000000##FFFFFF
##5010581.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#1C3156
Tritanopia (blue-blind)
#511E33
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501058;
/* rgb */ color: rgb(80, 16, 88);
/* oklch */ color: oklch(32.0% 0.130 323.0);
Tailwind
colors: {
  custom: {
    50: '#845787',
    500: '#501058',
    950: '#000000',
  },
}
SCSS
$custom: #501058;
$custom-light: #845787;
$custom-dark: #000000;
JSON
{
  "hex": "#501058",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 293.333,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32014,
    "c": 0.13035,
    "h": 323
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#501058
secondary
#3D9132
accent
#EC3C4F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #501058

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

Preview Lab → · Contrast checker → · Palette generator →

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