#501776#501776

#501776 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.152 H 307.3°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#501776
RGBrgb(80, 23, 118)
HSLhsl(276, 67%, 28%)
HSVhsv(276, 81%, 46%)
CMYKcmyk(32.2%, 80.5%, 0%, 53.7%)
CIE-LABlab(22.40, 42.92, -42.49)
CIE-LCHlch(22.40, 60.39, 315.29°)
OKLaboklab(35.04% 0.0921 -0.1208)
OKLCHoklch(35.04% 0.152 307.3)
XYZxyz(6.8840, 3.6264, 17.4733)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501776 #3D7617
analogous
#201776 #501776 #76176C
triadic
#501776 #765017 #177650
tetradic
#501776 #762017 #3D7617 #176C76
square
#501776 #762017 #3D7617 #176C76
split-complementary
#501776 #6C7617 #177620
monochromatic
#11051A #2D0D43 #501776 #7321A9 #9431D7

Accessibility & contrast

On white

12.17
#501776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#501776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501776
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501776#FFFFFF#000000##FFFFFF
##5017761.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#4A2F46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501776;
/* rgb */ color: rgb(80, 23, 118);
/* oklch */ color: oklch(35.0% 0.152 307.3);
Tailwind
colors: {
  custom: {
    50: '#855b9e',
    500: '#501776',
    950: '#000000',
  },
}
SCSS
$custom: #501776;
$custom-light: #855b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#501776",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 276,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3504,
    "c": 0.1519,
    "h": 307.3
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#501776
secondary
#69AB3E
accent
#EA3E83
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501776

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

Preview Lab → · Contrast checker → · Palette generator →

#501776 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva