#501B76#501B76

#501B76 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.147 H 306.8°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#501B76
RGBrgb(80, 27, 118)
HSLhsl(275, 63%, 28%)
HSVhsv(275, 77%, 46%)
CMYKcmyk(32.2%, 77.1%, 0%, 53.7%)
CIE-LABlab(22.99, 41.22, -41.52)
CIE-LCHlch(22.99, 58.50, 314.79°)
OKLaboklab(35.46% 0.0882 -0.118)
OKLCHoklch(35.46% 0.147 306.8)
XYZxyz(6.9695, 3.7974, 17.5018)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B76 #41761B
analogous
#221B76 #501B76 #761B6E
triadic
#501B76 #76501B #1B7650
tetradic
#501B76 #76221B #41761B #1B6E76
square
#501B76 #76221B #41761B #1B6E76
split-complementary
#501B76 #6E761B #1B7622
monochromatic
#110619 #2E1044 #501B76 #7226A8 #923AD2

Accessibility & contrast

On white

11.94
#501B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#501B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B76
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B76#FFFFFF#000000##FFFFFF
##501B761.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#493147
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #501b76;
/* rgb */ color: rgb(80, 27, 118);
/* oklch */ color: oklch(35.5% 0.147 306.8);
Tailwind
colors: {
  custom: {
    50: '#855d9e',
    500: '#501b76',
    950: '#000000',
  },
}
SCSS
$custom: #501b76;
$custom-light: #855d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#501b76",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 274.945,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35459,
    "c": 0.14732,
    "h": 306.8
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

primary
#501B76
secondary
#6EAA42
accent
#E64286
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501B76

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

Preview Lab → · Contrast checker → · Palette generator →

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