#501155#501155

#501155 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.126 H 324.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#501155
RGBrgb(80, 17, 85)
HSLhsl(296, 67%, 20%)
HSVhsv(296, 80%, 33%)
CMYKcmyk(5.9%, 80%, 0%, 66.7%)
CIE-LABlab(19.07, 38.03, -26.19)
CIE-LCHlch(19.07, 46.18, 325.45°)
OKLaboklab(31.89% 0.1033 -0.0729)
OKLCHoklch(31.89% 0.126 324.8)
XYZxyz(5.1483, 2.7626, 8.8546)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501155 #165511
analogous
#2E1155 #501155 #551138
triadic
#501155 #555011 #115550
tetradic
#501155 #552E11 #165511 #113855
square
#501155 #552E11 #165511 #113855
split-complementary
#501155 #385511 #11552E
monochromatic
#18051A #200722 #501155 #801B88 #B025BB

Accessibility & contrast

On white

13.53
#501155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501155
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501155#FFFFFF#000000##FFFFFF
##5011551.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#1F3153
Tritanopia (blue-blind)
#521D32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501155;
/* rgb */ color: rgb(80, 17, 85);
/* oklch */ color: oklch(31.9% 0.126 324.8);
Tailwind
colors: {
  custom: {
    50: '#845785',
    500: '#501155',
    950: '#000000',
  },
}
SCSS
$custom: #501155;
$custom-light: #845785;
$custom-dark: #000000;
JSON
{
  "hex": "#501155",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 295.588,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.31892,
    "c": 0.12645,
    "h": 324.8
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#501155
secondary
#3A8E34
accent
#EA3E4B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #501155

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

Preview Lab → · Contrast checker → · Palette generator →

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