#501580#501580

#501580 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.164 H 303.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#501580
RGBrgb(80, 21, 128)
HSLhsl(273, 72%, 29%)
HSVhsv(273, 84%, 50%)
CMYKcmyk(37.5%, 83.6%, 0%, 49.8%)
CIE-LABlab(23.00, 46.09, -47.87)
CIE-LCHlch(23.00, 66.45, 313.91°)
OKLaboklab(35.73% 0.091 -0.1366)
OKLCHoklch(35.73% 0.164 303.7)
XYZxyz(7.4718, 3.8003, 20.7578)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501580 #458015
analogous
#1B1580 #501580 #80157B
triadic
#501580 #805015 #158050
tetradic
#501580 #801B15 #458015 #157B80
square
#501580 #801B15 #458015 #157B80
split-complementary
#501580 #7B8015 #15801B
monochromatic
#10041A #2F0C4B #501580 #711EB5 #9132DD

Accessibility & contrast

On white

11.93
#501580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#501580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501580
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501580#FFFFFF#000000##FFFFFF
##5015801.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#46334B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #501580;
/* rgb */ color: rgb(80, 21, 128);
/* oklch */ color: oklch(35.7% 0.164 303.7);
Tailwind
colors: {
  custom: {
    50: '#875ba6',
    500: '#501580',
    950: '#000000',
  },
}
SCSS
$custom: #501580;
$custom-light: #875ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#501580",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 273.084,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35733,
    "c": 0.16412,
    "h": 303.7
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#501580
secondary
#72B53C
accent
#EF398B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501580

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

Preview Lab → · Contrast checker → · Palette generator →

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