#501D9E#501D9E

#501D9E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.188 H 293.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#501D9E
RGBrgb(80, 29, 158)
HSLhsl(264, 69%, 37%)
HSVhsv(264, 82%, 62%)
CMYKcmyk(49.4%, 81.6%, 0%, 38%)
CIE-LABlab(26.88, 50.55, -60.12)
CIE-LCHlch(26.88, 78.55, 310.05°)
OKLaboklab(39.29% 0.0751 -0.1726)
OKLCHoklch(39.29% 0.188 293.5)
XYZxyz(9.9175, 5.0525, 32.7938)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D9E #6B9E1D
analogous
#1D2B9E #501D9E #911D9E
triadic
#501D9E #9E501D #1D9E50
tetradic
#501D9E #9E1D2B #6B9E1D #1D9E91
square
#501D9E #9E1D2B #6B9E1D #1D9E91
split-complementary
#501D9E #9E911D #2B9E1D
monochromatic
#1C0A37 #36146A #501D9E #6A26D2 #8C56E0

Accessibility & contrast

On white

10.44
#501D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#501D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D9E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D9E#FFFFFF#000000##FFFFFF
##501D9E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#37435E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #501d9e;
/* rgb */ color: rgb(80, 29, 158);
/* oklch */ color: oklch(39.3% 0.188 293.5);
Tailwind
colors: {
  custom: {
    50: '#8a60bc',
    500: '#501d9e',
    950: '#000000',
  },
}
SCSS
$custom: #501d9e;
$custom-light: #8a60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#501d9e",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 263.721,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.18826,
    "h": 293.5
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#501D9E
secondary
#97C354
accent
#EC3CA6
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #501D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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