#501C7B#501C7B

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

Color values

HEX#501C7B
RGBrgb(80, 28, 123)
HSLhsl(273, 63%, 30%)
HSVhsv(273, 77%, 48%)
CMYKcmyk(35%, 77.2%, 0%, 51.8%)
CIE-LABlab(23.56, 42.00, -43.78)
CIE-LCHlch(23.56, 60.67, 313.81°)
OKLaboklab(35.99% 0.0861 -0.1246)
OKLCHoklch(35.99% 0.152 304.6)
XYZxyz(7.2979, 3.9661, 19.1161)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C7B #477B1C
analogous
#201C7B #501C7B #7B1C77
triadic
#501C7B #7B501C #1C7B50
tetradic
#501C7B #7B201C #477B1C #1C777B
square
#501C7B #7B201C #477B1C #1C777B
split-complementary
#501C7B #777B1C #1C7B20
monochromatic
#100619 #301149 #501C7B #7027AD #903ED3

Accessibility & contrast

On white

11.71
#501C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#501C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C7B
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C7B#FFFFFF#000000##FFFFFF
##501C7B1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#48344A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #501c7b;
/* rgb */ color: rgb(80, 28, 123);
/* oklch */ color: oklch(36.0% 0.152 304.6);
Tailwind
colors: {
  custom: {
    50: '#865ea2',
    500: '#501c7b',
    950: '#000000',
  },
}
SCSS
$custom: #501c7b;
$custom-light: #865ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#501c7b",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 272.842,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35989,
    "c": 0.15152,
    "h": 304.6
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#501C7B
secondary
#74AF44
accent
#E6428C
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #501C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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