#501D9F#501D9F

#501D9F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.189 H 293.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#501D9F
RGBrgb(80, 29, 159)
HSLhsl(264, 69%, 37%)
HSVhsv(264, 82%, 62%)
CMYKcmyk(49.7%, 81.8%, 0%, 37.6%)
CIE-LABlab(26.98, 50.81, -60.57)
CIE-LCHlch(26.98, 79.06, 309.99°)
OKLaboklab(39.39% 0.0748 -0.1739)
OKLCHoklch(39.39% 0.189 293.3)
XYZxyz(10.0039, 5.0871, 33.2490)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D9F #6C9F1D
analogous
#1D2B9F #501D9F #911D9F
triadic
#501D9F #9F501D #1D9F50
tetradic
#501D9F #9F1D2B #6C9F1D #1D9F91
square
#501D9F #9F1D2B #6C9F1D #1D9F91
split-complementary
#501D9F #9F911D #2B9F1D
monochromatic
#1C0A37 #36146B #501D9F #6A26D3 #8C56E0

Accessibility & contrast

On white

10.41
#501D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#501D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D9F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D9F#FFFFFF#000000##FFFFFF
##501D9F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#37435F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #501d9f;
/* rgb */ color: rgb(80, 29, 159);
/* oklch */ color: oklch(39.4% 0.189 293.3);
Tailwind
colors: {
  custom: {
    50: '#8a60bd',
    500: '#501d9f',
    950: '#000000',
  },
}
SCSS
$custom: #501d9f;
$custom-light: #8a60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#501d9f",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 263.538,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39385,
    "c": 0.18932,
    "h": 293.3
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#501D9F
secondary
#98C454
accent
#EC3CA7
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #501D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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