#501677#501677

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

Color values

HEX#501677
RGBrgb(80, 22, 119)
HSLhsl(276, 69%, 28%)
HSVhsv(276, 82%, 47%)
CMYKcmyk(32.8%, 81.5%, 0%, 53.3%)
CIE-LABlab(22.34, 43.56, -43.21)
CIE-LCHlch(22.34, 61.35, 315.23°)
OKLaboklab(35.03% 0.0928 -0.1229)
OKLCHoklch(35.03% 0.154 307)
XYZxyz(6.9242, 3.6113, 17.7815)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501677 #3D7716
analogous
#1F1677 #501677 #77166E
triadic
#501677 #775016 #167750
tetradic
#501677 #771F16 #3D7716 #166E77
square
#501677 #771F16 #3D7716 #166E77
split-complementary
#501677 #6E7716 #16771F
monochromatic
#11051A #2D0C43 #501677 #7320AB #942FD9

Accessibility & contrast

On white

12.19
#501677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501677
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501677#FFFFFF#000000##FFFFFF
##5016771.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#492F46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501677;
/* rgb */ color: rgb(80, 22, 119);
/* oklch */ color: oklch(35.0% 0.154 307.0);
Tailwind
colors: {
  custom: {
    50: '#865b9f',
    500: '#501677',
    950: '#000000',
  },
}
SCSS
$custom: #501677;
$custom-light: #865b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#501677",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 275.876,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35029,
    "c": 0.15399,
    "h": 307
  },
  "luminance": 0.03611
}

Semantic roles & 50–950 ramp

primary
#501677
secondary
#69AC3C
accent
#EC3C83
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501677

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

Preview Lab → · Contrast checker → · Palette generator →

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