#501264#501264

#501264 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.139 H 316.2°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#501264
RGBrgb(80, 18, 100)
HSLhsl(285, 69%, 23%)
HSVhsv(285, 82%, 39%)
CMYKcmyk(20%, 82%, 0%, 60.8%)
CIE-LABlab(20.28, 40.76, -34.23)
CIE-LCHlch(20.28, 53.23, 319.97°)
OKLaboklab(33.1% 0.1006 -0.0965)
OKLCHoklch(33.1% 0.139 316.2)
XYZxyz(5.8245, 3.0584, 12.3376)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501264 #266412
analogous
#271264 #501264 #64124F
triadic
#501264 #645012 #126450
tetradic
#501264 #642712 #266412 #124F64
square
#501264 #642712 #266412 #124F64
split-complementary
#501264 #4F6412 #126427
monochromatic
#15051A #270930 #501264 #791B98 #A325CC

Accessibility & contrast

On white

13.03
#501264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#501264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501264
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501264#FFFFFF#000000##FFFFFF
##5012641.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#113362
Tritanopia (blue-blind)
#4F253B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501264;
/* rgb */ color: rgb(80, 18, 100);
/* oklch */ color: oklch(33.1% 0.139 316.2);
Tailwind
colors: {
  custom: {
    50: '#845891',
    500: '#501264',
    950: '#000000',
  },
}
SCSS
$custom: #501264;
$custom-light: #845891;
$custom-dark: #000000;
JSON
{
  "hex": "#501264",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 285.366,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33095,
    "c": 0.13939,
    "h": 316.2
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#501264
secondary
#4F9C36
accent
#EC3B67
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #501264

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

Preview Lab → · Contrast checker → · Palette generator →

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