#501565#501565

#501565 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.137 H 315.4°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#501565
RGBrgb(80, 21, 101)
HSLhsl(284, 66%, 24%)
HSVhsv(284, 79%, 40%)
CMYKcmyk(20.8%, 79.2%, 0%, 60.4%)
CIE-LABlab(20.76, 39.82, -34.12)
CIE-LCHlch(20.76, 52.43, 319.41°)
OKLaboklab(33.46% 0.0975 -0.0962)
OKLCHoklch(33.46% 0.137 315.4)
XYZxyz(5.9250, 3.1816, 12.6114)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501565 #2A6515
analogous
#281565 #501565 #651552
triadic
#501565 #655015 #156550
tetradic
#501565 #652815 #2A6515 #155265
square
#501565 #652815 #2A6515 #155265
split-complementary
#501565 #526515 #156528
monochromatic
#140519 #280A32 #501565 #782098 #A02ACA

Accessibility & contrast

On white

12.83
#501565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#501565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501565
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501565#FFFFFF#000000##FFFFFF
##5015651.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#123363
Tritanopia (blue-blind)
#4E273C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501565;
/* rgb */ color: rgb(80, 21, 101);
/* oklch */ color: oklch(33.5% 0.137 315.4);
Tailwind
colors: {
  custom: {
    50: '#845991',
    500: '#501565',
    950: '#000000',
  },
}
SCSS
$custom: #501565;
$custom-light: #845991;
$custom-dark: #000000;
JSON
{
  "hex": "#501565",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 284.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33458,
    "c": 0.13695,
    "h": 315.4
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#501565
secondary
#549C3A
accent
#E93F6C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501565

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

Preview Lab → · Contrast checker → · Palette generator →

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