#501160#501160

#501160 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.137 H 318.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#501160
RGBrgb(80, 17, 96)
HSLhsl(288, 70%, 22%)
HSVhsv(288, 82%, 38%)
CMYKcmyk(16.7%, 82.3%, 0%, 62.4%)
CIE-LABlab(19.85, 40.27, -32.29)
CIE-LCHlch(19.85, 51.62, 321.28°)
OKLaboklab(32.7% 0.1022 -0.0908)
OKLCHoklch(32.7% 0.137 318.4)
XYZxyz(5.6197, 2.9512, 11.3377)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501160 #216011
analogous
#291160 #501160 #601149
triadic
#501160 #605011 #116050
tetradic
#501160 #602911 #216011 #114960
square
#501160 #602911 #216011 #114960
split-complementary
#501160 #496011 #116029
monochromatic
#16051A #25082C #501160 #7B1A94 #A723C8

Accessibility & contrast

On white

13.21
#501160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#501160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501160
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501160#FFFFFF#000000##FFFFFF
##5011601.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#15325E
Tritanopia (blue-blind)
#502238
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501160;
/* rgb */ color: rgb(80, 17, 96);
/* oklch */ color: oklch(32.7% 0.137 318.4);
Tailwind
colors: {
  custom: {
    50: '#84588e',
    500: '#501160',
    950: '#000000',
  },
}
SCSS
$custom: #501160;
$custom-light: #84588e;
$custom-dark: #000000;
JSON
{
  "hex": "#501160",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 287.848,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32696,
    "c": 0.13668,
    "h": 318.4
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#501160
secondary
#499934
accent
#ED3B5F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501160

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

Preview Lab → · Contrast checker → · Palette generator →

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