#501480#501480

#501480 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.165 H 303.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#501480
RGBrgb(80, 20, 128)
HSLhsl(273, 73%, 29%)
HSVhsv(273, 84%, 50%)
CMYKcmyk(37.5%, 84.4%, 0%, 49.8%)
CIE-LABlab(22.88, 46.45, -48.07)
CIE-LCHlch(22.88, 66.84, 314.02°)
OKLaboklab(35.65% 0.0918 -0.1372)
OKLCHoklch(35.65% 0.165 303.8)
XYZxyz(7.4538, 3.7643, 20.7518)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501480 #448014
analogous
#1A1480 #501480 #80147A
triadic
#501480 #805014 #148050
tetradic
#501480 #801A14 #448014 #147A80
square
#501480 #801A14 #448014 #147A80
split-complementary
#501480 #7A8014 #14801A
monochromatic
#11041A #2F0C4B #501480 #711CB5 #9130DF

Accessibility & contrast

On white

11.98
#501480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#501480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501480
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501480#FFFFFF#000000##FFFFFF
##5014801.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#46324B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #501480;
/* rgb */ color: rgb(80, 20, 128);
/* oklch */ color: oklch(35.6% 0.165 303.8);
Tailwind
colors: {
  custom: {
    50: '#875ba6',
    500: '#501480',
    950: '#000000',
  },
}
SCSS
$custom: #501480;
$custom-light: #875ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#501480",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 273.333,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35647,
    "c": 0.16503,
    "h": 303.8
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#501480
secondary
#71B53B
accent
#F0388A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501480

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

Preview Lab → · Contrast checker → · Palette generator →

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