#501B73#501B73

#501B73 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.144 H 308.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#501B73
RGBrgb(80, 27, 115)
HSLhsl(276, 62%, 28%)
HSVhsv(276, 77%, 45%)
CMYKcmyk(30.4%, 76.5%, 0%, 54.9%)
CIE-LABlab(22.75, 40.49, -39.99)
CIE-LCHlch(22.75, 56.91, 315.36°)
OKLaboklab(35.21% 0.0888 -0.1135)
OKLCHoklch(35.21% 0.144 308.1)
XYZxyz(6.7941, 3.7272, 16.5778)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B73 #3E731B
analogous
#241B73 #501B73 #731B6A
triadic
#501B73 #73501B #1B7350
tetradic
#501B73 #73241B #3E731B #1B6A73
square
#501B73 #73241B #3E731B #1B6A73
split-complementary
#501B73 #6A731B #1B7324
monochromatic
#110619 #2E0F41 #501B73 #7227A5 #9438D0

Accessibility & contrast

On white

12.03
#501B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#501B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B73
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B73#FFFFFF#000000##FFFFFF
##501B731.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#4A3045
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501b73;
/* rgb */ color: rgb(80, 27, 115);
/* oklch */ color: oklch(35.2% 0.144 308.1);
Tailwind
colors: {
  custom: {
    50: '#855d9c',
    500: '#501b73',
    950: '#000000',
  },
}
SCSS
$custom: #501b73;
$custom-light: #855d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#501b73",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 276.136,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35212,
    "c": 0.14411,
    "h": 308.1
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#501B73
secondary
#6BA842
accent
#E54383
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501B73

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

Preview Lab → · Contrast checker → · Palette generator →

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