#501D6F#501D6F

#501D6F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.137 H 309.5°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#501D6F
RGBrgb(80, 29, 111)
HSLhsl(277, 59%, 27%)
HSVhsv(277, 74%, 44%)
CMYKcmyk(27.9%, 73.9%, 0%, 56.5%)
CIE-LABlab(22.76, 38.59, -37.39)
CIE-LCHlch(22.76, 53.73, 315.91°)
OKLaboklab(35.13% 0.0873 -0.1058)
OKLCHoklch(35.13% 0.137 309.5)
XYZxyz(6.6163, 3.7320, 15.4077)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D6F #3C6F1D
analogous
#271D6F #501D6F #6F1D65
triadic
#501D6F #6F501D #1D6F50
tetradic
#501D6F #6F271D #3C6F1D #1D656F
square
#501D6F #6F271D #3C6F1D #1D656F
split-complementary
#501D6F #656F1D #1D6F27
monochromatic
#110618 #2D103E #501D6F #732AA0 #953BCC

Accessibility & contrast

On white

12.02
#501D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#501D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D6F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D6F#FFFFFF#000000##FFFFFF
##501D6F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#0C376D
Tritanopia (blue-blind)
#4C2F44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501d6f;
/* rgb */ color: rgb(80, 29, 111);
/* oklch */ color: oklch(35.1% 0.137 309.5);
Tailwind
colors: {
  custom: {
    50: '#845e99',
    500: '#501d6f',
    950: '#000000',
  },
}
SCSS
$custom: #501d6f;
$custom-light: #845e99;
$custom-dark: #000000;
JSON
{
  "hex": "#501d6f",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 277.317,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35125,
    "c": 0.13719,
    "h": 309.5
  },
  "luminance": 0.03732
}

Semantic roles & 50–950 ramp

primary
#501D6F
secondary
#68A344
accent
#E24681
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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