#501051#501051

#501051 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.124 H 327.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#501051
RGBrgb(80, 16, 81)
HSLhsl(299, 67%, 19%)
HSVhsv(299, 80%, 32%)
CMYKcmyk(1.2%, 80.2%, 0%, 68.2%)
CIE-LABlab(18.67, 37.63, -24.11)
CIE-LCHlch(18.67, 44.69, 327.35°)
OKLaboklab(31.53% 0.1045 -0.0669)
OKLCHoklch(31.53% 0.124 327.4)
XYZxyz(4.9787, 2.6705, 8.0362)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501051 #115110
analogous
#301051 #501051 #511032
triadic
#501051 #515010 #105150
tetradic
#501051 #513010 #115110 #103251
square
#501051 #513010 #115110 #103251
split-complementary
#501051 #325110 #105130
monochromatic
#19051A #1E061E #501051 #821A84 #B524B7

Accessibility & contrast

On white

13.69
#501051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#501051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501051
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501051#FFFFFF#000000##FFFFFF
##5010511.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032853
Deuteranopia (green-blind)
#21304F
Tritanopia (blue-blind)
#531B2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #501051;
/* rgb */ color: rgb(80, 16, 81);
/* oklch */ color: oklch(31.5% 0.124 327.4);
Tailwind
colors: {
  custom: {
    50: '#845682',
    500: '#501051',
    950: '#000000',
  },
}
SCSS
$custom: #501051;
$custom-light: #845682;
$custom-dark: #000000;
JSON
{
  "hex": "#501051",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 299.077,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31526,
    "c": 0.12404,
    "h": 327.4
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#501051
secondary
#338B32
accent
#EA3E41
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #501051

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

Preview Lab → · Contrast checker → · Palette generator →

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