#501066#501066

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

Color values

HEX#501066
RGBrgb(80, 16, 102)
HSLhsl(285, 73%, 23%)
HSVhsv(285, 84%, 40%)
CMYKcmyk(21.6%, 84.3%, 0%, 60%)
CIE-LABlab(20.19, 41.90, -35.70)
CIE-LCHlch(20.19, 55.05, 319.57°)
OKLaboklab(33.08% 0.102 -0.1008)
OKLCHoklch(33.08% 0.143 315.3)
XYZxyz(5.8914, 3.0356, 12.8434)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501066 #266610
analogous
#251066 #501066 #661051
triadic
#501066 #665010 #106650
tetradic
#501066 #662510 #266610 #105166
square
#501066 #662510 #266610 #105166
split-complementary
#501066 #516610 #106625
monochromatic
#15041A #270831 #501066 #79189B #A321D0

Accessibility & contrast

On white

13.07
#501066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501066
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501066#FFFFFF#000000##FFFFFF
##5010661.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501066;
/* rgb */ color: rgb(80, 16, 102);
/* oklch */ color: oklch(33.1% 0.143 315.3);
Tailwind
colors: {
  custom: {
    50: '#855792',
    500: '#501066',
    950: '#000000',
  },
}
SCSS
$custom: #501066;
$custom-light: #855792;
$custom-dark: #000000;
JSON
{
  "hex": "#501066",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 284.651,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3308,
    "c": 0.1434,
    "h": 315.3
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#501066
secondary
#4F9E33
accent
#F03867
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501066

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

Preview Lab → · Contrast checker → · Palette generator →

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