#501260#501260

#501260 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.136 H 318.3°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#501260
RGBrgb(80, 18, 96)
HSLhsl(288, 68%, 22%)
HSVhsv(288, 81%, 38%)
CMYKcmyk(16.7%, 81.3%, 0%, 62.4%)
CIE-LABlab(19.98, 39.91, -32.08)
CIE-LCHlch(19.98, 51.20, 321.20°)
OKLaboklab(32.79% 0.1012 -0.0902)
OKLCHoklch(32.79% 0.136 318.3)
XYZxyz(5.6356, 2.9829, 11.3430)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501260 #226012
analogous
#291260 #501260 #601249
triadic
#501260 #605012 #126050
tetradic
#501260 #602912 #226012 #124960
square
#501260 #602912 #226012 #124960
split-complementary
#501260 #496012 #126029
monochromatic
#15051A #25082C #501260 #7B1C94 #A625C7

Accessibility & contrast

On white

13.15
#501260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501260
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501260#FFFFFF#000000##FFFFFF
##5012601.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#16325E
Tritanopia (blue-blind)
#502338
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501260;
/* rgb */ color: rgb(80, 18, 96);
/* oklch */ color: oklch(32.8% 0.136 318.3);
Tailwind
colors: {
  custom: {
    50: '#84588e',
    500: '#501260',
    950: '#000000',
  },
}
SCSS
$custom: #501260;
$custom-light: #84588e;
$custom-dark: #000000;
JSON
{
  "hex": "#501260",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 287.692,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32786,
    "c": 0.13556,
    "h": 318.3
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#501260
secondary
#4A9836
accent
#EB3D60
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501260

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

Preview Lab → · Contrast checker → · Palette generator →

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