#501573#501573

#501573 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.151 H 308.8°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#501573
RGBrgb(80, 21, 115)
HSLhsl(278, 69%, 27%)
HSVhsv(278, 82%, 45%)
CMYKcmyk(30.4%, 81.7%, 0%, 54.9%)
CIE-LABlab(21.87, 43.00, -41.41)
CIE-LCHlch(21.87, 59.70, 316.08°)
OKLaboklab(34.59% 0.0947 -0.1176)
OKLCHoklch(34.59% 0.151 308.8)
XYZxyz(6.6703, 3.4797, 16.5366)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501573 #387315
analogous
#211573 #501573 #731567
triadic
#501573 #735015 #157350
tetradic
#501573 #732115 #387315 #156773
square
#501573 #732115 #387315 #156773
split-complementary
#501573 #677315 #157321
monochromatic
#12051A #2C0C3F #501573 #741EA7 #972AD8

Accessibility & contrast

On white

12.38
#501573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#501573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501573
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501573#FFFFFF#000000##FFFFFF
##5015731.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#4B2D44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501573;
/* rgb */ color: rgb(80, 21, 115);
/* oklch */ color: oklch(34.6% 0.151 308.8);
Tailwind
colors: {
  custom: {
    50: '#855a9c',
    500: '#501573',
    950: '#000000',
  },
}
SCSS
$custom: #501573;
$custom-light: #855a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#501573",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 277.66,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34594,
    "c": 0.15097,
    "h": 308.8
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#501573
secondary
#64A93B
accent
#EC3C7D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501573

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

Preview Lab → · Contrast checker → · Palette generator →

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