#501268#501268

#501268 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.4% C 0.143 H 314.2°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#501268
RGBrgb(80, 18, 104)
HSLhsl(283, 70%, 24%)
HSVhsv(283, 83%, 41%)
CMYKcmyk(23.1%, 82.7%, 0%, 59.2%)
CIE-LABlab(20.59, 41.63, -36.36)
CIE-LCHlch(20.59, 55.27, 318.87°)
OKLaboklab(33.41% 0.0998 -0.1027)
OKLCHoklch(33.41% 0.143 314.2)
XYZxyz(6.0228, 3.1378, 13.3824)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501268 #2A6812
analogous
#251268 #501268 #681255
triadic
#501268 #685012 #126850
tetradic
#501268 #682512 #2A6812 #125568
square
#501268 #682512 #2A6812 #125568
split-complementary
#501268 #556812 #126825
monochromatic
#14051A #280934 #501268 #781B9C #A024D0

Accessibility & contrast

On white

12.90
#501268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#501268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501268
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501268#FFFFFF#000000##FFFFFF
##5012681.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#0A3366
Tritanopia (blue-blind)
#4E263D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501268;
/* rgb */ color: rgb(80, 18, 104);
/* oklch */ color: oklch(33.4% 0.143 314.2);
Tailwind
colors: {
  custom: {
    50: '#855894',
    500: '#501268',
    950: '#000000',
  },
}
SCSS
$custom: #501268;
$custom-light: #855894;
$custom-dark: #000000;
JSON
{
  "hex": "#501268",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 283.256,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33412,
    "c": 0.14326,
    "h": 314.2
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#501268
secondary
#54A036
accent
#ED3B6C
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501268

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

Preview Lab → · Contrast checker → · Palette generator →

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