#501265#501265

#501265 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.140 H 315.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#501265
RGBrgb(80, 18, 101)
HSLhsl(285, 70%, 23%)
HSVhsv(285, 82%, 40%)
CMYKcmyk(20.8%, 82.2%, 0%, 60.4%)
CIE-LABlab(20.35, 40.98, -34.77)
CIE-LCHlch(20.35, 53.74, 319.69°)
OKLaboklab(33.17% 0.1004 -0.0981)
OKLCHoklch(33.17% 0.14 315.7)
XYZxyz(5.8732, 3.0779, 12.5941)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501265 #276512
analogous
#261265 #501265 #651250
triadic
#501265 #655012 #126550
tetradic
#501265 #652612 #276512 #125065
square
#501265 #652612 #276512 #125065
split-complementary
#501265 #506512 #126526
monochromatic
#15051A #270931 #501265 #791B99 #A225CD

Accessibility & contrast

On white

13.00
#501265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#501265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501265
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501265#FFFFFF#000000##FFFFFF
##5012651.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#103363
Tritanopia (blue-blind)
#4E253B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501265;
/* rgb */ color: rgb(80, 18, 101);
/* oklch */ color: oklch(33.2% 0.140 315.7);
Tailwind
colors: {
  custom: {
    50: '#845891',
    500: '#501265',
    950: '#000000',
  },
}
SCSS
$custom: #501265;
$custom-light: #845891;
$custom-dark: #000000;
JSON
{
  "hex": "#501265",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 284.819,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33173,
    "c": 0.14036,
    "h": 315.7
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#501265
secondary
#509D36
accent
#ED3B68
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501265

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

Preview Lab → · Contrast checker → · Palette generator →

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