#501D6A#501D6A

#501D6A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.132 H 311.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#501D6A
RGBrgb(80, 29, 106)
HSLhsl(280, 57%, 26%)
HSVhsv(280, 73%, 42%)
CMYKcmyk(24.5%, 72.6%, 0%, 58.4%)
CIE-LABlab(22.39, 37.39, -34.75)
CIE-LCHlch(22.39, 51.05, 317.10°)
OKLaboklab(34.74% 0.0879 -0.0981)
OKLCHoklch(34.74% 0.132 311.9)
XYZxyz(6.3487, 3.6250, 13.9981)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D6A #376A1D
analogous
#2A1D6A #501D6A #6A1D5E
triadic
#501D6A #6A501D #1D6A50
tetradic
#501D6A #6A2A1D #376A1D #1D5E6A
square
#501D6A #6A2A1D #376A1D #1D5E6A
split-complementary
#501D6A #5E6A1D #1D6A2A
monochromatic
#120718 #2C103A #501D6A #742A9A #9839C9

Accessibility & contrast

On white

12.17
#501D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501D6A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D6A#FFFFFF#000000##FFFFFF
##501D6A1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#143768
Tritanopia (blue-blind)
#4D2D41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501d6a;
/* rgb */ color: rgb(80, 29, 106);
/* oklch */ color: oklch(34.7% 0.132 311.9);
Tailwind
colors: {
  custom: {
    50: '#845e95',
    500: '#501d6a',
    950: '#000000',
  },
}
SCSS
$custom: #501d6a;
$custom-light: #845e95;
$custom-dark: #000000;
JSON
{
  "hex": "#501d6a",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 106
  },
  "hsl": {
    "h": 279.74,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34739,
    "c": 0.13174,
    "h": 311.9
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#501D6A
secondary
#639F44
accent
#E0487B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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