#501052#501052

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

Color values

HEX#501052
RGBrgb(80, 16, 82)
HSLhsl(298, 67%, 19%)
HSVhsv(298, 80%, 32%)
CMYKcmyk(2.4%, 80.5%, 0%, 67.8%)
CIE-LABlab(18.74, 37.82, -24.69)
CIE-LCHlch(18.74, 45.16, 326.87°)
OKLaboklab(31.59% 0.1044 -0.0686)
OKLCHoklch(31.59% 0.125 326.7)
XYZxyz(5.0165, 2.6856, 8.2352)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501052 #125210
analogous
#2F1052 #501052 #521033
triadic
#501052 #525010 #105250
tetradic
#501052 #522F10 #125210 #103352
square
#501052 #522F10 #125210 #103352
split-complementary
#501052 #335210 #10522F
monochromatic
#19051A #1E061F #501052 #821A85 #B424B8

Accessibility & contrast

On white

13.66
#501052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501052
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501052#FFFFFF#000000##FFFFFF
##5010521.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012854
Deuteranopia (green-blind)
#203050
Tritanopia (blue-blind)
#521B30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501052;
/* rgb */ color: rgb(80, 16, 82);
/* oklch */ color: oklch(31.6% 0.125 326.7);
Tailwind
colors: {
  custom: {
    50: '#845683',
    500: '#501052',
    950: '#000000',
  },
}
SCSS
$custom: #501052;
$custom-light: #845683;
$custom-dark: #000000;
JSON
{
  "hex": "#501052",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 298.182,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31594,
    "c": 0.12493,
    "h": 326.7
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#501052
secondary
#358C32
accent
#EA3E43
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #501052

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

Preview Lab → · Contrast checker → · Palette generator →

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