#501C70#501C70

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

Color values

HEX#501C70
RGBrgb(80, 28, 112)
HSLhsl(277, 60%, 27%)
HSVhsv(277, 75%, 44%)
CMYKcmyk(28.6%, 75%, 0%, 56.1%)
CIE-LABlab(22.67, 39.30, -38.18)
CIE-LCHlch(22.67, 54.79, 315.83°)
OKLaboklab(35.09% 0.0883 -0.1082)
OKLCHoklch(35.09% 0.14 309.2)
XYZxyz(6.6476, 3.7060, 15.6912)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C70 #3C701C
analogous
#261C70 #501C70 #701C66
triadic
#501C70 #70501C #1C7050
tetradic
#501C70 #70261C #3C701C #1C6670
square
#501C70 #70261C #3C701C #1C6670
split-complementary
#501C70 #66701C #1C7026
monochromatic
#110618 #2D103F #501C70 #7328A1 #9539CD

Accessibility & contrast

On white

12.06
#501C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#501C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C70
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C70#FFFFFF#000000##FFFFFF
##501C701.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#08376E
Tritanopia (blue-blind)
#4B2F44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501c70;
/* rgb */ color: rgb(80, 28, 112);
/* oklch */ color: oklch(35.1% 0.140 309.2);
Tailwind
colors: {
  custom: {
    50: '#855d9a',
    500: '#501c70',
    950: '#000000',
  },
}
SCSS
$custom: #501c70;
$custom-light: #855d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#501c70",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 277.143,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35085,
    "c": 0.13961,
    "h": 309.2
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#501C70
secondary
#68A543
accent
#E34581
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501C70

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

Preview Lab → · Contrast checker → · Palette generator →

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