#501376#501376

#501376 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.156 H 307.8°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#501376
RGBrgb(80, 19, 118)
HSLhsl(277, 72%, 27%)
HSVhsv(277, 84%, 46%)
CMYKcmyk(32.2%, 83.9%, 0%, 53.7%)
CIE-LABlab(21.87, 44.44, -43.34)
CIE-LCHlch(21.87, 62.08, 315.72°)
OKLaboklab(34.67% 0.0956 -0.1233)
OKLCHoklch(34.67% 0.156 307.8)
XYZxyz(6.8105, 3.4793, 17.4488)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501376 #397613
analogous
#1F1376 #501376 #76136B
triadic
#501376 #765013 #137650
tetradic
#501376 #761F13 #397613 #136B76
square
#501376 #761F13 #397613 #136B76
split-complementary
#501376 #6B7613 #13761F
monochromatic
#12041A #2C0B41 #501376 #741BAB #9727DC

Accessibility & contrast

On white

12.38
#501376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#501376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501376
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501376#FFFFFF#000000##FFFFFF
##5013761.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#4A2D45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501376;
/* rgb */ color: rgb(80, 19, 118);
/* oklch */ color: oklch(34.7% 0.156 307.8);
Tailwind
colors: {
  custom: {
    50: '#865a9e',
    500: '#501376',
    950: '#000000',
  },
}
SCSS
$custom: #501376;
$custom-light: #865a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#501376",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 276.97,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34672,
    "c": 0.15598,
    "h": 307.8
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#501376
secondary
#65AC39
accent
#EF397F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501376

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

Preview Lab → · Contrast checker → · Palette generator →

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