#501246#501246

#501246 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.112 H 335.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#501246
RGBrgb(80, 18, 70)
HSLhsl(310, 63%, 19%)
HSVhsv(310, 78%, 31%)
CMYKcmyk(0%, 77.5%, 12.5%, 68.6%)
CIE-LABlab(18.28, 34.85, -17.20)
CIE-LCHlch(18.28, 38.87, 333.73°)
OKLaboklab(31.03% 0.1017 -0.047)
OKLCHoklch(31.03% 0.112 335.2)
XYZxyz(4.6301, 2.5807, 6.0474)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501246 #12501C
analogous
#3B1250 #501246 #501227
triadic
#501246 #465012 #124650
tetradic
#501246 #503B12 #12501C #122750
square
#501246 #503B12 #12501C #122750
split-complementary
#501246 #275012 #12503B
monochromatic
#190616 #1E071A #501246 #821D72 #B4289D

Accessibility & contrast

On white

13.85
#501246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#501246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501246
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501246#FFFFFF#000000##FFFFFF
##5012461.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122747
Deuteranopia (green-blind)
#273044
Tritanopia (blue-blind)
#54172A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #501246;
/* rgb */ color: rgb(80, 18, 70);
/* oklch */ color: oklch(31.0% 0.112 335.2);
Tailwind
colors: {
  custom: {
    50: '#845779',
    500: '#501246',
    950: '#000000',
  },
}
SCSS
$custom: #501246;
$custom-light: #845779;
$custom-dark: #000000;
JSON
{
  "hex": "#501246",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 309.677,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31029,
    "c": 0.11202,
    "h": 335.2
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#501246
secondary
#358942
accent
#E65C41
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #501246

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

Preview Lab → · Contrast checker → · Palette generator →

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