#501152#501152

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

Color values

HEX#501152
RGBrgb(80, 17, 82)
HSLhsl(298, 66%, 19%)
HSVhsv(298, 79%, 32%)
CMYKcmyk(2.4%, 79.3%, 0%, 67.8%)
CIE-LABlab(18.87, 37.45, -24.48)
CIE-LCHlch(18.87, 44.74, 326.83°)
OKLaboklab(31.69% 0.1034 -0.068)
OKLCHoklch(31.69% 0.124 326.7)
XYZxyz(5.0316, 2.7159, 8.2402)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501152 #135211
analogous
#301152 #501152 #521134
triadic
#501152 #525011 #115250
tetradic
#501152 #523011 #135211 #113452
square
#501152 #523011 #135211 #113452
split-complementary
#501152 #345211 #115230
monochromatic
#190519 #1F061F #501152 #811C85 #B326B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##501152#FFFFFF#000000##FFFFFF
##5011521.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)
#032954
Deuteranopia (green-blind)
#213150
Tritanopia (blue-blind)
#521C30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501152;
/* rgb */ color: rgb(80, 17, 82);
/* oklch */ color: oklch(31.7% 0.124 326.7);
Tailwind
colors: {
  custom: {
    50: '#845783',
    500: '#501152',
    950: '#000000',
  },
}
SCSS
$custom: #501152;
$custom-light: #845783;
$custom-dark: #000000;
JSON
{
  "hex": "#501152",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 298.154,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31687,
    "c": 0.12373,
    "h": 326.7
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#501152
secondary
#368B34
accent
#E93F44
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #501152

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

Preview Lab → · Contrast checker → · Palette generator →

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