#501765#501765

#501765 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.134 H 315.2°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#501765
RGBrgb(80, 23, 101)
HSLhsl(284, 63%, 24%)
HSVhsv(284, 77%, 40%)
CMYKcmyk(20.8%, 77.2%, 0%, 60.4%)
CIE-LABlab(21.05, 38.98, -33.65)
CIE-LCHlch(21.05, 51.49, 319.20°)
OKLaboklab(33.67% 0.0954 -0.0948)
OKLCHoklch(33.67% 0.134 315.2)
XYZxyz(5.9632, 3.2581, 12.6241)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501765 #2C6517
analogous
#291765 #501765 #651753
triadic
#501765 #655017 #176550
tetradic
#501765 #652917 #2C6517 #175365
square
#501765 #652917 #2C6517 #175365
split-complementary
#501765 #536517 #176529
monochromatic
#140619 #290C33 #501765 #772297 #9F2EC9

Accessibility & contrast

On white

12.71
#501765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501765
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501765#FFFFFF#000000##FFFFFF
##5017651.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#143463
Tritanopia (blue-blind)
#4E283C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501765;
/* rgb */ color: rgb(80, 23, 101);
/* oklch */ color: oklch(33.7% 0.134 315.2);
Tailwind
colors: {
  custom: {
    50: '#845a91',
    500: '#501765',
    950: '#000000',
  },
}
SCSS
$custom: #501765;
$custom-light: #845a91;
$custom-dark: #000000;
JSON
{
  "hex": "#501765",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 283.846,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33666,
    "c": 0.13449,
    "h": 315.2
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#501765
secondary
#569B3C
accent
#E6426E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501765

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

Preview Lab → · Contrast checker → · Palette generator →

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