#501150#501150

#501150 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.122 H 328.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#501150
RGBrgb(80, 17, 80)
HSLhsl(300, 65%, 19%)
HSVhsv(300, 79%, 31%)
CMYKcmyk(0%, 78.8%, 0%, 68.6%)
CIE-LABlab(18.74, 37.07, -23.33)
CIE-LCHlch(18.74, 43.80, 327.81°)
OKLaboklab(31.55% 0.1034 -0.0646)
OKLCHoklch(31.55% 0.122 328)
XYZxyz(4.9566, 2.6859, 7.8452)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501150 #115011
analogous
#311150 #501150 #501131
triadic
#501150 #505011 #115050
tetradic
#501150 #503111 #115011 #113150
square
#501150 #503111 #115011 #113150
split-complementary
#501150 #315011 #115031
monochromatic
#190519 #1E061E #501150 #821C82 #B526B5

Accessibility & contrast

On white

13.66
#501150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#501150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501150
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501150#FFFFFF#000000##FFFFFF
##5011501.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062852
Deuteranopia (green-blind)
#22304E
Tritanopia (blue-blind)
#531B2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501150;
/* rgb */ color: rgb(80, 17, 80);
/* oklch */ color: oklch(31.6% 0.122 328.0);
Tailwind
colors: {
  custom: {
    50: '#845781',
    500: '#501150',
    950: '#000000',
  },
}
SCSS
$custom: #501150;
$custom-light: #845781;
$custom-dark: #000000;
JSON
{
  "hex": "#501150",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 300,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31553,
    "c": 0.12194,
    "h": 328
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#501150
secondary
#338933
accent
#E84040
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #501150

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

Preview Lab → · Contrast checker → · Palette generator →

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