#501980#501980

#501980 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.160 H 303.2°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#501980
RGBrgb(80, 25, 128)
HSLhsl(272, 67%, 30%)
HSVhsv(272, 80%, 50%)
CMYKcmyk(37.5%, 80.5%, 0%, 49.8%)
CIE-LABlab(23.54, 44.53, -46.99)
CIE-LCHlch(23.54, 64.74, 313.46°)
OKLaboklab(36.11% 0.0877 -0.134)
OKLCHoklch(36.11% 0.16 303.2)
XYZxyz(7.5513, 3.9592, 20.7843)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501980 #498019
analogous
#1D1980 #501980 #80197C
triadic
#501980 #805019 #198050
tetradic
#501980 #801D19 #498019 #197C80
square
#501980 #801D19 #498019 #197C80
split-complementary
#501980 #7C8019 #19801D
monochromatic
#10051A #300F4D #501980 #7023B3 #8F3BD9

Accessibility & contrast

On white

11.72
#501980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#501980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501980
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501980#FFFFFF#000000##FFFFFF
##5019801.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#46344C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #501980;
/* rgb */ color: rgb(80, 25, 128);
/* oklch */ color: oklch(36.1% 0.160 303.2);
Tailwind
colors: {
  custom: {
    50: '#865da6',
    500: '#501980',
    950: '#000000',
  },
}
SCSS
$custom: #501980;
$custom-light: #865da6;
$custom-dark: #000000;
JSON
{
  "hex": "#501980",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 272.039,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.36106,
    "c": 0.16018,
    "h": 303.2
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#501980
secondary
#76B441
accent
#EA3E8E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501980

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

Preview Lab → · Contrast checker → · Palette generator →

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