#501D70#501D70

#501D70 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.138 H 309.1°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#501D70
RGBrgb(80, 29, 112)
HSLhsl(277, 59%, 28%)
HSVhsv(277, 74%, 44%)
CMYKcmyk(28.6%, 74.1%, 0%, 56.1%)
CIE-LABlab(22.84, 38.83, -37.91)
CIE-LCHlch(22.84, 54.27, 315.69°)
OKLaboklab(35.2% 0.0872 -0.1074)
OKLCHoklch(35.2% 0.138 309.1)
XYZxyz(6.6717, 3.7542, 15.6993)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D70 #3D701D
analogous
#261D70 #501D70 #701D67
triadic
#501D70 #70501D #1D7050
tetradic
#501D70 #70261D #3D701D #1D6770
square
#501D70 #70261D #3D701D #1D6770
split-complementary
#501D70 #67701D #1D7026
monochromatic
#110618 #2D103F #501D70 #732AA1 #943BCC

Accessibility & contrast

On white

11.99
#501D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501D70
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D70#FFFFFF#000000##FFFFFF
##501D701.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#0A376E
Tritanopia (blue-blind)
#4B3044
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501d70;
/* rgb */ color: rgb(80, 29, 112);
/* oklch */ color: oklch(35.2% 0.138 309.1);
Tailwind
colors: {
  custom: {
    50: '#855e9a',
    500: '#501d70',
    950: '#000000',
  },
}
SCSS
$custom: #501d70;
$custom-light: #855e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#501d70",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 276.867,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35204,
    "c": 0.1383,
    "h": 309.1
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#501D70
secondary
#69A444
accent
#E24682
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501D70

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

Preview Lab → · Contrast checker → · Palette generator →

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