#501880#501880

#501880 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.161 H 303.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#501880
RGBrgb(80, 24, 128)
HSLhsl(272, 68%, 30%)
HSVhsv(272, 81%, 50%)
CMYKcmyk(37.5%, 81.3%, 0%, 49.8%)
CIE-LABlab(23.40, 44.94, -47.22)
CIE-LCHlch(23.40, 65.18, 313.58°)
OKLaboklab(36.01% 0.0886 -0.1347)
OKLCHoklch(36.01% 0.161 303.3)
XYZxyz(7.5303, 3.9173, 20.7773)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501880 #488018
analogous
#1C1880 #501880 #80187C
triadic
#501880 #805018 #188050
tetradic
#501880 #801C18 #488018 #187C80
square
#501880 #801C18 #488018 #187C80
split-complementary
#501880 #7C8018 #18801C
monochromatic
#10051A #300E4C #501880 #7022B4 #8F39DA

Accessibility & contrast

On white

11.78
#501880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#501880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501880
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501880#FFFFFF#000000##FFFFFF
##5018801.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501880;
/* rgb */ color: rgb(80, 24, 128);
/* oklch */ color: oklch(36.0% 0.161 303.3);
Tailwind
colors: {
  custom: {
    50: '#865ca6',
    500: '#501880',
    950: '#000000',
  },
}
SCSS
$custom: #501880;
$custom-light: #865ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#501880",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 272.308,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36008,
    "c": 0.16121,
    "h": 303.3
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#501880
secondary
#75B440
accent
#EB3D8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501880

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

Preview Lab → · Contrast checker → · Palette generator →

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