#501081#501081

#501081 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.169 H 303.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#501081
RGBrgb(80, 16, 129)
HSLhsl(274, 78%, 28%)
HSVhsv(274, 88%, 51%)
CMYKcmyk(38%, 87.6%, 0%, 49.4%)
CIE-LABlab(22.52, 48.01, -49.29)
CIE-LCHlch(22.52, 68.80, 314.25°)
OKLaboklab(35.43% 0.0942 -0.1407)
OKLCHoklch(35.43% 0.169 303.8)
XYZxyz(7.4551, 3.6610, 21.0785)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501081 #418110
analogous
#171081 #501081 #811079
triadic
#501081 #815010 #108150
tetradic
#501081 #811710 #418110 #107981
square
#501081 #811710 #418110 #107981
split-complementary
#501081 #798110 #108117
monochromatic
#11031B #2E094B #501081 #7217B7 #9227E4

Accessibility & contrast

On white

12.12
#501081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#501081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501081
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501081#FFFFFF#000000##FFFFFF
##5010811.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#46314B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501081;
/* rgb */ color: rgb(80, 16, 129);
/* oklch */ color: oklch(35.4% 0.169 303.8);
Tailwind
colors: {
  custom: {
    50: '#8759a6',
    500: '#501081',
    950: '#000000',
  },
}
SCSS
$custom: #501081;
$custom-light: #8759a6;
$custom-dark: #000000;
JSON
{
  "hex": "#501081",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 273.982,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35427,
    "c": 0.16935,
    "h": 303.8
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#501081
secondary
#6EB736
accent
#F43387
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501081

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

Preview Lab → · Contrast checker → · Palette generator →

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