#501D6C#501D6C

#501D6C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.134 H 310.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#501D6C
RGBrgb(80, 29, 108)
HSLhsl(279, 58%, 27%)
HSVhsv(279, 73%, 42%)
CMYKcmyk(25.9%, 73.1%, 0%, 57.6%)
CIE-LABlab(22.54, 37.87, -35.81)
CIE-LCHlch(22.54, 52.12, 316.60°)
OKLaboklab(34.89% 0.0877 -0.1012)
OKLCHoklch(34.89% 0.134 310.9)
XYZxyz(6.4539, 3.6671, 14.5523)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D6C #396C1D
analogous
#291D6C #501D6C #6C1D61
triadic
#501D6C #6C501D #1D6C50
tetradic
#501D6C #6C291D #396C1D #1D616C
square
#501D6C #6C291D #396C1D #1D616C
split-complementary
#501D6C #616C1D #1D6C29
monochromatic
#120618 #2C103C #501D6C #742A9C #9739CA

Accessibility & contrast

On white

12.11
#501D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#501D6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D6C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D6C#FFFFFF#000000##FFFFFF
##501D6C1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#12376A
Tritanopia (blue-blind)
#4C2E42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501d6c;
/* rgb */ color: rgb(80, 29, 108);
/* oklch */ color: oklch(34.9% 0.134 310.9);
Tailwind
colors: {
  custom: {
    50: '#845e97',
    500: '#501d6c',
    950: '#000000',
  },
}
SCSS
$custom: #501d6c;
$custom-light: #845e97;
$custom-dark: #000000;
JSON
{
  "hex": "#501d6c",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 108
  },
  "hsl": {
    "h": 278.734,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34892,
    "c": 0.13392,
    "h": 310.9
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#501D6C
secondary
#65A144
accent
#E1477D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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