#501C7D#501C7D

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

Color values

HEX#501C7D
RGBrgb(80, 28, 125)
HSLhsl(272, 63%, 30%)
HSVhsv(272, 78%, 49%)
CMYKcmyk(36%, 77.6%, 0%, 51%)
CIE-LABlab(23.73, 42.50, -44.78)
CIE-LCHlch(23.73, 61.74, 313.50°)
OKLaboklab(36.16% 0.0857 -0.1276)
OKLCHoklch(36.16% 0.154 303.9)
XYZxyz(7.4243, 4.0167, 19.7822)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C7D #497D1C
analogous
#1F1C7D #501C7D #7D1C7A
triadic
#501C7D #7D501C #1C7D50
tetradic
#501C7D #7D1F1C #497D1C #1C7A7D
square
#501C7D #7D1F1C #497D1C #1C7A7D
split-complementary
#501C7D #7A7D1C #1C7D1F
monochromatic
#100619 #30114B #501C7D #7027AF #8F3FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##501C7D#FFFFFF#000000##FFFFFF
##501C7D1.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)
#003780
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#47344B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #501c7d;
/* rgb */ color: rgb(80, 28, 125);
/* oklch */ color: oklch(36.2% 0.154 303.9);
Tailwind
colors: {
  custom: {
    50: '#865ea3',
    500: '#501c7d',
    950: '#000000',
  },
}
SCSS
$custom: #501c7d;
$custom-light: #865ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#501c7d",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 272.165,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.3616,
    "c": 0.15369,
    "h": 303.9
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#501C7D
secondary
#76B144
accent
#E6418E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #501C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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