#501154#501154

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

Color values

HEX#501154
RGBrgb(80, 17, 84)
HSLhsl(296, 66%, 20%)
HSVhsv(296, 80%, 33%)
CMYKcmyk(4.8%, 79.8%, 0%, 67.1%)
CIE-LABlab(19.00, 37.83, -25.62)
CIE-LCHlch(19.00, 45.69, 325.89°)
OKLaboklab(31.82% 0.1033 -0.0713)
OKLCHoklch(31.82% 0.126 325.4)
XYZxyz(5.1088, 2.7468, 8.6469)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501154 #155411
analogous
#2F1154 #501154 #541137
triadic
#501154 #545011 #115450
tetradic
#501154 #542F11 #155411 #113754
square
#501154 #542F11 #155411 #113754
split-complementary
#501154 #375411 #11542F
monochromatic
#180519 #200721 #501154 #801B87 #B126BA

Accessibility & contrast

On white

13.56
#501154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#501154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501154
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501154#FFFFFF#000000##FFFFFF
##5011541.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#203152
Tritanopia (blue-blind)
#521D31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501154;
/* rgb */ color: rgb(80, 17, 84);
/* oklch */ color: oklch(31.8% 0.126 325.4);
Tailwind
colors: {
  custom: {
    50: '#845784',
    500: '#501154',
    950: '#000000',
  },
}
SCSS
$custom: #501154;
$custom-light: #845784;
$custom-dark: #000000;
JSON
{
  "hex": "#501154",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 296.418,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31823,
    "c": 0.12553,
    "h": 325.4
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#501154
secondary
#398D34
accent
#E93F49
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #501154

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

Preview Lab → · Contrast checker → · Palette generator →

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