#501C7C#501C7C

#501C7C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.153 H 304.3°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#501C7C
RGBrgb(80, 28, 124)
HSLhsl(273, 63%, 30%)
HSVhsv(273, 77%, 49%)
CMYKcmyk(35.5%, 77.4%, 0%, 51.4%)
CIE-LABlab(23.64, 42.25, -44.28)
CIE-LCHlch(23.64, 61.21, 313.65°)
OKLaboklab(36.07% 0.0859 -0.1261)
OKLCHoklch(36.07% 0.153 304.3)
XYZxyz(7.3608, 3.9912, 19.4475)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C7C #487C1C
analogous
#201C7C #501C7C #7C1C78
triadic
#501C7C #7C501C #1C7C50
tetradic
#501C7C #7C201C #487C1C #1C787C
square
#501C7C #7C201C #487C1C #1C787C
split-complementary
#501C7C #787C1C #1C7C20
monochromatic
#100619 #30114A #501C7C #7027AE #8F3FD4

Accessibility & contrast

On white

11.68
#501C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501C7C
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C7C#FFFFFF#000000##FFFFFF
##501C7C1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#47344B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #501c7c;
/* rgb */ color: rgb(80, 28, 124);
/* oklch */ color: oklch(36.1% 0.153 304.3);
Tailwind
colors: {
  custom: {
    50: '#865ea3',
    500: '#501c7c',
    950: '#000000',
  },
}
SCSS
$custom: #501c7c;
$custom-light: #865ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#501c7c",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 272.5,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36074,
    "c": 0.1526,
    "h": 304.3
  },
  "luminance": 0.03991
}

Semantic roles & 50–950 ramp

primary
#501C7C
secondary
#75B044
accent
#E6428D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #501C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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