#501166#501166

#501166 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.142 H 315.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#501166
RGBrgb(80, 17, 102)
HSLhsl(284, 71%, 23%)
HSVhsv(284, 83%, 40%)
CMYKcmyk(21.6%, 83.3%, 0%, 60%)
CIE-LABlab(20.31, 41.56, -35.50)
CIE-LCHlch(20.31, 54.66, 319.49°)
OKLaboklab(33.16% 0.1011 -0.1002)
OKLCHoklch(33.16% 0.142 315.3)
XYZxyz(5.9066, 3.0659, 12.8484)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501166 #276611
analogous
#251166 #501166 #661151
triadic
#501166 #665011 #116650
tetradic
#501166 #662511 #276611 #115166
square
#501166 #662511 #276611 #115166
split-complementary
#501166 #516611 #116625
monochromatic
#15041A #270832 #501166 #791A9A #A222CF

Accessibility & contrast

On white

13.02
#501166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501166
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501166#FFFFFF#000000##FFFFFF
##5011661.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#0D3364
Tritanopia (blue-blind)
#4E253C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501166;
/* rgb */ color: rgb(80, 17, 102);
/* oklch */ color: oklch(33.2% 0.142 315.3);
Tailwind
colors: {
  custom: {
    50: '#855892',
    500: '#501166',
    950: '#000000',
  },
}
SCSS
$custom: #501166;
$custom-light: #855892;
$custom-dark: #000000;
JSON
{
  "hex": "#501166",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 284.471,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.14238,
    "h": 315.3
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#501166
secondary
#509E35
accent
#EE3A68
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501166

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

Preview Lab → · Contrast checker → · Palette generator →

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