#501D95#501D95

#501D95 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.179 H 295.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#501D95
RGBrgb(80, 29, 149)
HSLhsl(266, 67%, 35%)
HSVhsv(266, 81%, 58%)
CMYKcmyk(46.3%, 80.5%, 0%, 41.6%)
CIE-LABlab(26.02, 48.20, -56.02)
CIE-LCHlch(26.02, 73.91, 310.71°)
OKLaboklab(38.43% 0.0781 -0.1606)
OKLCHoklch(38.43% 0.179 295.9)
XYZxyz(9.1710, 4.7539, 28.8623)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D95 #62951D
analogous
#1D2695 #501D95 #8C1D95
triadic
#501D95 #95501D #1D9550
tetradic
#501D95 #951D26 #62951D #1D958C
square
#501D95 #951D26 #62951D #1D958C
split-complementary
#501D95 #958C1D #26951D
monochromatic
#19092F #341362 #501D95 #6C27C8 #8C50DD

Accessibility & contrast

On white

10.76
#501D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#501D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D95
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D95#FFFFFF#000000##FFFFFF
##501D951.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#3D3F59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #501d95;
/* rgb */ color: rgb(80, 29, 149);
/* oklch */ color: oklch(38.4% 0.179 295.9);
Tailwind
colors: {
  custom: {
    50: '#8960b5',
    500: '#501d95',
    950: '#000000',
  },
}
SCSS
$custom: #501d95;
$custom-light: #8960b5;
$custom-dark: #000000;
JSON
{
  "hex": "#501d95",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 265.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38427,
    "c": 0.17857,
    "h": 295.9
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#501D95
secondary
#8FC04E
accent
#EA3DA1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501D95

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

Preview Lab → · Contrast checker → · Palette generator →

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