#501D6D#501D6D

#501D6D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.135 H 310.4°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#501D6D
RGBrgb(80, 29, 109)
HSLhsl(278, 58%, 27%)
HSVhsv(278, 73%, 43%)
CMYKcmyk(26.6%, 73.4%, 0%, 57.3%)
CIE-LABlab(22.61, 38.11, -36.34)
CIE-LCHlch(22.61, 52.66, 316.36°)
OKLaboklab(34.97% 0.0876 -0.1028)
OKLCHoklch(34.97% 0.135 310.4)
XYZxyz(6.5074, 3.6885, 14.8342)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D6D #3A6D1D
analogous
#281D6D #501D6D #6D1D62
triadic
#501D6D #6D501D #1D6D50
tetradic
#501D6D #6D281D #3A6D1D #1D626D
square
#501D6D #6D281D #3A6D1D #1D626D
split-complementary
#501D6D #626D1D #1D6D28
monochromatic
#120618 #2D103D #501D6D #732A9D #963ACB

Accessibility & contrast

On white

12.09
#501D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#501D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D6D
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D6D#FFFFFF#000000##FFFFFF
##501D6D1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#10376B
Tritanopia (blue-blind)
#4C2E43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501d6d;
/* rgb */ color: rgb(80, 29, 109);
/* oklch */ color: oklch(35.0% 0.135 310.4);
Tailwind
colors: {
  custom: {
    50: '#845e97',
    500: '#501d6d',
    950: '#000000',
  },
}
SCSS
$custom: #501d6d;
$custom-light: #845e97;
$custom-dark: #000000;
JSON
{
  "hex": "#501d6d",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 109
  },
  "hsl": {
    "h": 278.25,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34969,
    "c": 0.13501,
    "h": 310.4
  },
  "luminance": 0.03688
}

Semantic roles & 50–950 ramp

primary
#501D6D
secondary
#66A244
accent
#E1477F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #501D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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