#501450#501450

#501450 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.118 H 327.9°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#501450
RGBrgb(80, 20, 80)
HSLhsl(300, 60%, 20%)
HSVhsv(300, 75%, 31%)
CMYKcmyk(0%, 75%, 0%, 68.6%)
CIE-LABlab(19.16, 35.86, -22.66)
CIE-LCHlch(19.16, 42.42, 327.72°)
OKLaboklab(31.86% 0.1 -0.0627)
OKLCHoklch(31.86% 0.118 327.9)
XYZxyz(5.0063, 2.7853, 7.8618)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501450 #145014
analogous
#321450 #501450 #501432
triadic
#501450 #505014 #145050
tetradic
#501450 #503214 #145014 #143250
square
#501450 #503214 #145014 #143250
split-complementary
#501450 #325014 #145032
monochromatic
#180618 #1F081F #501450 #812081 #B22CB2

Accessibility & contrast

On white

13.49
#501450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#501450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501450
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501450#FFFFFF#000000##FFFFFF
##5014501.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2952
Deuteranopia (green-blind)
#23314E
Tritanopia (blue-blind)
#531D30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501450;
/* rgb */ color: rgb(80, 20, 80);
/* oklch */ color: oklch(31.9% 0.118 327.9);
Tailwind
colors: {
  custom: {
    50: '#845881',
    500: '#501450',
    950: '#000000',
  },
}
SCSS
$custom: #501450;
$custom-light: #845881;
$custom-dark: #000000;
JSON
{
  "hex": "#501450",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 300,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31857,
    "c": 0.11803,
    "h": 327.9
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#501450
secondary
#388838
accent
#E34545
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501450

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

Preview Lab → · Contrast checker → · Palette generator →

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