#501073#501073

#501073 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.156 H 309.3°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#501073
RGBrgb(80, 16, 115)
HSLhsl(279, 76%, 26%)
HSVhsv(279, 86%, 45%)
CMYKcmyk(30.4%, 86.1%, 0%, 54.9%)
CIE-LABlab(21.26, 44.78, -42.41)
CIE-LCHlch(21.26, 61.67, 316.56°)
OKLaboklab(34.17% 0.0988 -0.1205)
OKLCHoklch(34.17% 0.156 309.3)
XYZxyz(6.5874, 3.3140, 16.5090)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501073 #337310
analogous
#1E1073 #501073 #731064
triadic
#501073 #735010 #107350
tetradic
#501073 #731E10 #337310 #106473
square
#501073 #731E10 #337310 #106473
split-complementary
#501073 #647310 #10731E
monochromatic
#13041B #2B093D #501073 #7517A9 #9B1FDE

Accessibility & contrast

On white

12.63
#501073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#501073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501073
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501073#FFFFFF#000000##FFFFFF
##5010731.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#4B2B43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501073;
/* rgb */ color: rgb(80, 16, 115);
/* oklch */ color: oklch(34.2% 0.156 309.3);
Tailwind
colors: {
  custom: {
    50: '#86589c',
    500: '#501073',
    950: '#000000',
  },
}
SCSS
$custom: #501073;
$custom-light: #86589c;
$custom-dark: #000000;
JSON
{
  "hex": "#501073",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 278.788,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34167,
    "c": 0.15581,
    "h": 309.3
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#501073
secondary
#5EAA34
accent
#F23678
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501073

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

Preview Lab → · Contrast checker → · Palette generator →

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