#501676#501676

#501676 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.153 H 307.4°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#501676
RGBrgb(80, 22, 118)
HSLhsl(276, 69%, 27%)
HSVhsv(276, 81%, 46%)
CMYKcmyk(32.2%, 81.4%, 0%, 53.7%)
CIE-LABlab(22.26, 43.32, -42.71)
CIE-LCHlch(22.26, 60.83, 315.41°)
OKLaboklab(34.94% 0.093 -0.1214)
OKLCHoklch(34.94% 0.153 307.4)
XYZxyz(6.8645, 3.5874, 17.4668)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501676 #3C7616
analogous
#201676 #501676 #76166C
triadic
#501676 #765016 #167650
tetradic
#501676 #762016 #3C7616 #166C76
square
#501676 #762016 #3C7616 #166C76
split-complementary
#501676 #6C7616 #167620
monochromatic
#11051A #2D0C42 #501676 #7320AA #952ED8

Accessibility & contrast

On white

12.23
#501676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#501676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501676
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501676#FFFFFF#000000##FFFFFF
##5016761.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501676;
/* rgb */ color: rgb(80, 22, 118);
/* oklch */ color: oklch(34.9% 0.153 307.4);
Tailwind
colors: {
  custom: {
    50: '#865b9e',
    500: '#501676',
    950: '#000000',
  },
}
SCSS
$custom: #501676;
$custom-light: #865b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#501676",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 276.25,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34944,
    "c": 0.15297,
    "h": 307.4
  },
  "luminance": 0.03587
}

Semantic roles & 50–950 ramp

primary
#501676
secondary
#68AC3C
accent
#EB3C82
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501676

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

Preview Lab → · Contrast checker → · Palette generator →

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