#501C71#501C71

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

Color values

HEX#501C71
RGBrgb(80, 28, 113)
HSLhsl(277, 60%, 28%)
HSVhsv(277, 75%, 44%)
CMYKcmyk(29.2%, 75.2%, 0%, 55.7%)
CIE-LABlab(22.75, 39.55, -38.69)
CIE-LCHlch(22.75, 55.33, 315.62°)
OKLaboklab(35.17% 0.0881 -0.1097)
OKLCHoklch(35.17% 0.141 308.8)
XYZxyz(6.7035, 3.7284, 15.9861)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C71 #3D711C
analogous
#251C71 #501C71 #711C67
triadic
#501C71 #71501C #1C7150
tetradic
#501C71 #71251C #3D711C #1C6771
square
#501C71 #71251C #3D711C #1C6771
split-complementary
#501C71 #67711C #1C7125
monochromatic
#110619 #2D1040 #501C71 #7328A2 #9439CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##501C71#FFFFFF#000000##FFFFFF
##501C711.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)
#003473
Deuteranopia (green-blind)
#06376F
Tritanopia (blue-blind)
#4B2F44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501c71;
/* rgb */ color: rgb(80, 28, 113);
/* oklch */ color: oklch(35.2% 0.141 308.8);
Tailwind
colors: {
  custom: {
    50: '#855d9a',
    500: '#501c71',
    950: '#000000',
  },
}
SCSS
$custom: #501c71;
$custom-light: #855d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#501c71",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 276.706,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35165,
    "c": 0.14069,
    "h": 308.8
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#501C71
secondary
#69A643
accent
#E34482
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501C71

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

Preview Lab → · Contrast checker → · Palette generator →

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