#501054#501054

#501054 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.127 H 325.4°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#501054
RGBrgb(80, 16, 84)
HSLhsl(296, 68%, 20%)
HSVhsv(296, 81%, 33%)
CMYKcmyk(4.8%, 81%, 0%, 67.1%)
CIE-LABlab(18.87, 38.21, -25.83)
CIE-LCHlch(18.87, 46.12, 325.94°)
OKLaboklab(31.73% 0.1044 -0.0719)
OKLCHoklch(31.73% 0.127 325.4)
XYZxyz(5.0937, 2.7165, 8.6418)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501054 #145410
analogous
#2E1054 #501054 #541036
triadic
#501054 #545010 #105450
tetradic
#501054 #542E10 #145410 #103654
square
#501054 #542E10 #145410 #103654
split-complementary
#501054 #365410 #10542E
monochromatic
#18051A #1F0621 #501054 #811A87 #B224BB

Accessibility & contrast

On white

13.61
#501054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501054
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501054#FFFFFF#000000##FFFFFF
##5010541.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#1F3152
Tritanopia (blue-blind)
#521C31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501054;
/* rgb */ color: rgb(80, 16, 84);
/* oklch */ color: oklch(31.7% 0.127 325.4);
Tailwind
colors: {
  custom: {
    50: '#845684',
    500: '#501054',
    950: '#000000',
  },
}
SCSS
$custom: #501054;
$custom-light: #845684;
$custom-dark: #000000;
JSON
{
  "hex": "#501054",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 296.471,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31731,
    "c": 0.12672,
    "h": 325.4
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#501054
secondary
#388E32
accent
#EB3D47
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #501054

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

Preview Lab → · Contrast checker → · Palette generator →

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