#501F77#501F77

#501F77 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.143 H 305.8°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#501F77
RGBrgb(80, 31, 119)
HSLhsl(273, 59%, 29%)
HSVhsv(273, 74%, 47%)
CMYKcmyk(32.8%, 73.9%, 0%, 53.3%)
CIE-LABlab(23.73, 39.60, -40.96)
CIE-LCHlch(23.73, 56.97, 314.03°)
OKLaboklab(36.01% 0.0838 -0.1164)
OKLCHoklch(36.01% 0.143 305.8)
XYZxyz(7.1273, 4.0174, 17.8491)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F77 #46771F
analogous
#241F77 #501F77 #771F72
triadic
#501F77 #77501F #1F7750
tetradic
#501F77 #77241F #46771F #1F7277
square
#501F77 #77241F #46771F #1F7277
split-complementary
#501F77 #72771F #1F7724
monochromatic
#100618 #2F1246 #501F77 #712CA8 #9043CE

Accessibility & contrast

On white

11.64
#501F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#501F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F77
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F77#FFFFFF#000000##FFFFFF
##501F771.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#003975
Tritanopia (blue-blind)
#493349
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #501f77;
/* rgb */ color: rgb(80, 31, 119);
/* oklch */ color: oklch(36.0% 0.143 305.8);
Tailwind
colors: {
  custom: {
    50: '#855f9f',
    500: '#501f77',
    950: '#000000',
  },
}
SCSS
$custom: #501f77;
$custom-light: #855f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#501f77",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 273.409,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36008,
    "c": 0.14339,
    "h": 305.8
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#501F77
secondary
#73AB47
accent
#E2468B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501F77

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

Preview Lab → · Contrast checker → · Palette generator →

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