#501B66#501B66

#501B66 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.130 H 314.2°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#501B66
RGBrgb(80, 27, 102)
HSLhsl(282, 58%, 25%)
HSVhsv(282, 74%, 40%)
CMYKcmyk(21.6%, 73.5%, 0%, 60%)
CIE-LABlab(21.76, 37.41, -33.16)
CIE-LCHlch(21.76, 49.99, 318.45°)
OKLaboklab(34.19% 0.0907 -0.0934)
OKLCHoklch(34.19% 0.13 314.2)
XYZxyz(6.0981, 3.4488, 12.9123)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B66 #31661B
analogous
#2A1B66 #501B66 #661B56
triadic
#501B66 #66501B #1B6650
tetradic
#501B66 #662A1B #31661B #1B5666
square
#501B66 #662A1B #31661B #1B5666
split-complementary
#501B66 #56661B #1B662A
monochromatic
#130618 #2A0E36 #501B66 #762896 #9C35C7

Accessibility & contrast

On white

12.43
#501B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#501B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B66
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B66#FFFFFF#000000##FFFFFF
##501B661.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#173564
Tritanopia (blue-blind)
#4E2A3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501b66;
/* rgb */ color: rgb(80, 27, 102);
/* oklch */ color: oklch(34.2% 0.130 314.2);
Tailwind
colors: {
  custom: {
    50: '#845c92',
    500: '#501b66',
    950: '#000000',
  },
}
SCSS
$custom: #501b66;
$custom-light: #845c92;
$custom-dark: #000000;
JSON
{
  "hex": "#501b66",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 282.4,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34194,
    "c": 0.13022,
    "h": 314.2
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#501B66
secondary
#5C9B41
accent
#E14674
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501B66

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

Preview Lab → · Contrast checker → · Palette generator →

#501B66 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva