#501F73#501F73

#501F73 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.139 H 307.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#501F73
RGBrgb(80, 31, 115)
HSLhsl(275, 58%, 29%)
HSVhsv(275, 73%, 45%)
CMYKcmyk(30.4%, 73%, 0%, 54.9%)
CIE-LABlab(23.42, 38.60, -38.91)
CIE-LCHlch(23.42, 54.81, 314.78°)
OKLaboklab(35.69% 0.0844 -0.1103)
OKLCHoklch(35.69% 0.139 307.4)
XYZxyz(6.8921, 3.9233, 16.6105)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F73 #42731F
analogous
#261F73 #501F73 #731F6C
triadic
#501F73 #73501F #1F7350
tetradic
#501F73 #73261F #42731F #1F6C73
square
#501F73 #73261F #42731F #1F6C73
split-complementary
#501F73 #6C731F #1F7326
monochromatic
#110618 #2E1243 #501F73 #722CA3 #9241CC

Accessibility & contrast

On white

11.77
#501F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#501F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F73
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F73#FFFFFF#000000##FFFFFF
##501F731.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#073871
Tritanopia (blue-blind)
#4A3246
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #501f73;
/* rgb */ color: rgb(80, 31, 115);
/* oklch */ color: oklch(35.7% 0.139 307.4);
Tailwind
colors: {
  custom: {
    50: '#855f9c',
    500: '#501f73',
    950: '#000000',
  },
}
SCSS
$custom: #501f73;
$custom-light: #855f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#501f73",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 275,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35687,
    "c": 0.13893,
    "h": 307.4
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#501F73
secondary
#6FA747
accent
#E14787
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501F73

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

Preview Lab → · Contrast checker → · Palette generator →

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