#501167#501167

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

Color values

HEX#501167
RGBrgb(80, 17, 103)
HSLhsl(284, 72%, 24%)
HSVhsv(284, 83%, 40%)
CMYKcmyk(22.3%, 83.5%, 0%, 59.6%)
CIE-LABlab(20.38, 41.77, -36.03)
CIE-LCHlch(20.38, 55.16, 319.22°)
OKLaboklab(33.24% 0.1009 -0.1018)
OKLCHoklch(33.24% 0.143 314.8)
XYZxyz(5.9565, 3.0859, 13.1112)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501167 #286711
analogous
#251167 #501167 #671153
triadic
#501167 #675011 #116750
tetradic
#501167 #672511 #286711 #115367
square
#501167 #672511 #286711 #115367
split-complementary
#501167 #536711 #116725
monochromatic
#14041A #270832 #501167 #791A9C #A222D0

Accessibility & contrast

On white

12.99
#501167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#501167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501167
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501167#FFFFFF#000000##FFFFFF
##5011671.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#0B3365
Tritanopia (blue-blind)
#4E263C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501167;
/* rgb */ color: rgb(80, 17, 103);
/* oklch */ color: oklch(33.2% 0.143 314.8);
Tailwind
colors: {
  custom: {
    50: '#855893',
    500: '#501167',
    950: '#000000',
  },
}
SCSS
$custom: #501167;
$custom-light: #855893;
$custom-dark: #000000;
JSON
{
  "hex": "#501167",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 283.953,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33244,
    "c": 0.14334,
    "h": 314.8
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#501167
secondary
#519F35
accent
#EE396A
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501167

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

Preview Lab → · Contrast checker → · Palette generator →

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