#501280#501280

#501280 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.167 H 304.0°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#501280
RGBrgb(80, 18, 128)
HSLhsl(274, 75%, 29%)
HSVhsv(274, 86%, 50%)
CMYKcmyk(37.5%, 85.9%, 0%, 49.8%)
CIE-LABlab(22.64, 47.13, -48.45)
CIE-LCHlch(22.64, 67.59, 314.21°)
OKLaboklab(35.48% 0.0932 -0.1383)
OKLCHoklch(35.48% 0.167 304)
XYZxyz(7.4199, 3.6966, 20.7405)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501280 #428012
analogous
#191280 #501280 #801279
triadic
#501280 #805012 #128050
tetradic
#501280 #801912 #428012 #127980
square
#501280 #801912 #428012 #127980
split-complementary
#501280 #798012 #128019
monochromatic
#11041B #2E0A4A #501280 #721AB6 #922BE1

Accessibility & contrast

On white

12.07
#501280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#501280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501280
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501280#FFFFFF#000000##FFFFFF
##5012801.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501280;
/* rgb */ color: rgb(80, 18, 128);
/* oklch */ color: oklch(35.5% 0.167 304.0);
Tailwind
colors: {
  custom: {
    50: '#875aa6',
    500: '#501280',
    950: '#000000',
  },
}
SCSS
$custom: #501280;
$custom-light: #875aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#501280",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 273.818,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35484,
    "c": 0.16677,
    "h": 304
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#501280
secondary
#6FB638
accent
#F23688
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501280

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

Preview Lab → · Contrast checker → · Palette generator →

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