#501D75#501D75

#501D75 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.144 H 306.9°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#501D75
RGBrgb(80, 29, 117)
HSLhsl(275, 60%, 29%)
HSVhsv(275, 75%, 46%)
CMYKcmyk(31.6%, 75.2%, 0%, 54.1%)
CIE-LABlab(23.23, 40.06, -40.49)
CIE-LCHlch(23.23, 56.95, 314.69°)
OKLaboklab(35.6% 0.0863 -0.115)
OKLCHoklch(35.6% 0.144 306.9)
XYZxyz(6.9578, 3.8686, 17.2064)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D75 #42751D
analogous
#241D75 #501D75 #751D6E
triadic
#501D75 #75501D #1D7550
tetradic
#501D75 #75241D #42751D #1D6E75
square
#501D75 #75241D #42751D #1D6E75
split-complementary
#501D75 #6E751D #1D7524
monochromatic
#110619 #2E1144 #501D75 #7229A6 #923DCF

Accessibility & contrast

On white

11.84
#501D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#501D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D75
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D75#FFFFFF#000000##FFFFFF
##501D751.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#4A3247
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #501d75;
/* rgb */ color: rgb(80, 29, 117);
/* oklch */ color: oklch(35.6% 0.144 306.9);
Tailwind
colors: {
  custom: {
    50: '#855e9d',
    500: '#501d75',
    950: '#000000',
  },
}
SCSS
$custom: #501d75;
$custom-light: #855e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#501d75",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 274.773,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35605,
    "c": 0.14376,
    "h": 306.9
  },
  "luminance": 0.03869
}

Semantic roles & 50–950 ramp

primary
#501D75
secondary
#6FA945
accent
#E34487
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501D75

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

Preview Lab → · Contrast checker → · Palette generator →

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