#501165#501165

#501165 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.1% C 0.141 H 315.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#501165
RGBrgb(80, 17, 101)
HSLhsl(285, 71%, 23%)
HSVhsv(285, 83%, 40%)
CMYKcmyk(20.8%, 83.2%, 0%, 60.4%)
CIE-LABlab(20.23, 41.34, -34.97)
CIE-LCHlch(20.23, 54.15, 319.77°)
OKLaboklab(33.09% 0.1013 -0.0987)
OKLCHoklch(33.09% 0.141 315.8)
XYZxyz(5.8573, 3.0462, 12.5888)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501165 #266511
analogous
#261165 #501165 #651150
triadic
#501165 #655011 #116550
tetradic
#501165 #652611 #266511 #115065
square
#501165 #652611 #266511 #115065
split-complementary
#501165 #506511 #116526
monochromatic
#15041A #270831 #501165 #791A99 #A323CE

Accessibility & contrast

On white

13.05
#501165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501165
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501165#FFFFFF#000000##FFFFFF
##5011651.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#0F3263
Tritanopia (blue-blind)
#4E253B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501165;
/* rgb */ color: rgb(80, 17, 101);
/* oklch */ color: oklch(33.1% 0.141 315.8);
Tailwind
colors: {
  custom: {
    50: '#855891',
    500: '#501165',
    950: '#000000',
  },
}
SCSS
$custom: #501165;
$custom-light: #855891;
$custom-dark: #000000;
JSON
{
  "hex": "#501165",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 285,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33085,
    "c": 0.14143,
    "h": 315.8
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#501165
secondary
#4F9D35
accent
#EE3A67
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501165

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

Preview Lab → · Contrast checker → · Palette generator →

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