#501261#501261

#501261 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.137 H 317.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#501261
RGBrgb(80, 18, 97)
HSLhsl(287, 69%, 23%)
HSVhsv(287, 81%, 38%)
CMYKcmyk(17.5%, 81.4%, 0%, 62%)
CIE-LABlab(20.05, 40.12, -32.62)
CIE-LCHlch(20.05, 51.71, 320.88°)
OKLaboklab(32.86% 0.1011 -0.0918)
OKLCHoklch(32.86% 0.137 317.8)
XYZxyz(5.6819, 3.0014, 11.5870)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501261 #236112
analogous
#291261 #501261 #61124A
triadic
#501261 #615012 #126150
tetradic
#501261 #612912 #236112 #124A61
square
#501261 #612912 #236112 #124A61
split-complementary
#501261 #4A6112 #126129
monochromatic
#15051A #25082D #501261 #7B1C95 #A525C8

Accessibility & contrast

On white

13.12
#501261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#501261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501261
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501261#FFFFFF#000000##FFFFFF
##5012611.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D63
Deuteranopia (green-blind)
#15325F
Tritanopia (blue-blind)
#4F2339
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501261;
/* rgb */ color: rgb(80, 18, 97);
/* oklch */ color: oklch(32.9% 0.137 317.8);
Tailwind
colors: {
  custom: {
    50: '#84588e',
    500: '#501261',
    950: '#000000',
  },
}
SCSS
$custom: #501261;
$custom-light: #84588e;
$custom-dark: #000000;
JSON
{
  "hex": "#501261",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 287.089,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32862,
    "c": 0.13652,
    "h": 317.8
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#501261
secondary
#4B9936
accent
#EC3C62
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501261

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

Preview Lab → · Contrast checker → · Palette generator →

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