#501460#501460

#501460 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.133 H 318.1°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#501460
RGBrgb(80, 20, 96)
HSLhsl(287, 66%, 23%)
HSVhsv(287, 79%, 38%)
CMYKcmyk(16.7%, 79.2%, 0%, 62.4%)
CIE-LABlab(20.25, 39.13, -31.65)
CIE-LCHlch(20.25, 50.32, 321.04°)
OKLaboklab(32.98% 0.0992 -0.0889)
OKLCHoklch(32.98% 0.133 318.1)
XYZxyz(5.6694, 3.0506, 11.3542)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501460 #246014
analogous
#2A1460 #501460 #60144A
triadic
#501460 #605014 #146050
tetradic
#501460 #602A14 #246014 #144A60
square
#501460 #602A14 #246014 #144A60
split-complementary
#501460 #4A6014 #14602A
monochromatic
#150519 #26092D #501460 #7A1F93 #A429C5

Accessibility & contrast

On white

13.04
#501460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#501460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501460
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501460#FFFFFF#000000##FFFFFF
##5014601.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#17335E
Tritanopia (blue-blind)
#502439
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501460;
/* rgb */ color: rgb(80, 20, 96);
/* oklch */ color: oklch(33.0% 0.133 318.1);
Tailwind
colors: {
  custom: {
    50: '#84598e',
    500: '#501460',
    950: '#000000',
  },
}
SCSS
$custom: #501460;
$custom-light: #84598e;
$custom-dark: #000000;
JSON
{
  "hex": "#501460",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 287.368,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32978,
    "c": 0.13323,
    "h": 318.1
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#501460
secondary
#4C9838
accent
#E83F63
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501460

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

Preview Lab → · Contrast checker → · Palette generator →

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