#501976#501976

#501976 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.150 H 307.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#501976
RGBrgb(80, 25, 118)
HSLhsl(275, 65%, 28%)
HSVhsv(275, 79%, 46%)
CMYKcmyk(32.2%, 78.8%, 0%, 53.7%)
CIE-LABlab(22.68, 42.09, -42.02)
CIE-LCHlch(22.68, 59.47, 315.05°)
OKLaboklab(35.24% 0.0902 -0.1194)
OKLCHoklch(35.24% 0.15 307.1)
XYZxyz(6.9252, 3.7088, 17.4871)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501976 #3F7619
analogous
#211976 #501976 #76196D
triadic
#501976 #765019 #197650
tetradic
#501976 #762119 #3F7619 #196D76
square
#501976 #762119 #3F7619 #196D76
split-complementary
#501976 #6D7619 #197621
monochromatic
#110519 #2E0E43 #501976 #7224A8 #9335D4

Accessibility & contrast

On white

12.06
#501976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#501976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##501976#FFFFFF#000000##FFFFFF
##5019761.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)
#003479
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#4A3047
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501976;
/* rgb */ color: rgb(80, 25, 118);
/* oklch */ color: oklch(35.2% 0.150 307.1);
Tailwind
colors: {
  custom: {
    50: '#855c9e',
    500: '#501976',
    950: '#000000',
  },
}
SCSS
$custom: #501976;
$custom-light: #855c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#501976",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 275.484,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35243,
    "c": 0.14968,
    "h": 307.1
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#501976
secondary
#6CAB40
accent
#E84085
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501976

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

Preview Lab → · Contrast checker → · Palette generator →

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