#501D96#501D96

#501D96 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.180 H 295.7°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#501D96
RGBrgb(80, 29, 150)
HSLhsl(265, 68%, 35%)
HSVhsv(265, 81%, 59%)
CMYKcmyk(46.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(26.12, 48.46, -56.48)
CIE-LCHlch(26.12, 74.43, 310.63°)
OKLaboklab(38.52% 0.0778 -0.1619)
OKLCHoklch(38.52% 0.18 295.7)
XYZxyz(9.2512, 4.7860, 29.2846)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D96 #63961D
analogous
#1D2796 #501D96 #8C1D96
triadic
#501D96 #96501D #1D9650
tetradic
#501D96 #961D27 #63961D #1D968C
square
#501D96 #961D27 #63961D #1D968C
split-complementary
#501D96 #968C1D #27961D
monochromatic
#19092F #351363 #501D96 #6B27C9 #8C50DD

Accessibility & contrast

On white

10.73
#501D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#501D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D96
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D96#FFFFFF#000000##FFFFFF
##501D961.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#3C3F5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #501d96;
/* rgb */ color: rgb(80, 29, 150);
/* oklch */ color: oklch(38.5% 0.180 295.7);
Tailwind
colors: {
  custom: {
    50: '#8960b6',
    500: '#501d96',
    950: '#000000',
  },
}
SCSS
$custom: #501d96;
$custom-light: #8960b6;
$custom-dark: #000000;
JSON
{
  "hex": "#501d96",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 265.289,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38522,
    "c": 0.17965,
    "h": 295.7
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#501D96
secondary
#90C04F
accent
#EA3DA1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501D96

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

Preview Lab → · Contrast checker → · Palette generator →

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