#501648#501648

#501648 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.108 H 333.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#501648
RGBrgb(80, 22, 72)
HSLhsl(308, 57%, 20%)
HSVhsv(308, 73%, 31%)
CMYKcmyk(0%, 72.5%, 10%, 68.6%)
CIE-LABlab(19.00, 33.49, -17.45)
CIE-LCHlch(19.00, 37.76, 332.48°)
OKLaboklab(31.59% 0.0969 -0.0477)
OKLCHoklch(31.59% 0.108 333.8)
XYZxyz(4.7649, 2.7476, 6.4090)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501648 #16501E
analogous
#3B1650 #501648 #50162B
triadic
#501648 #485016 #164850
tetradic
#501648 #503B16 #16501E #162B50
square
#501648 #503B16 #16501E #162B50
split-complementary
#501648 #2B5016 #16503B
monochromatic
#180716 #20091D #501648 #802373 #B0309E

Accessibility & contrast

On white

13.55
#501648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501648
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501648#FFFFFF#000000##FFFFFF
##5016481.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152949
Deuteranopia (green-blind)
#283147
Tritanopia (blue-blind)
#541B2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501648;
/* rgb */ color: rgb(80, 22, 72);
/* oklch */ color: oklch(31.6% 0.108 333.8);
Tailwind
colors: {
  custom: {
    50: '#83597b',
    500: '#501648',
    950: '#000000',
  },
}
SCSS
$custom: #501648;
$custom-light: #83597b;
$custom-dark: #000000;
JSON
{
  "hex": "#501648",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 308.276,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.31589,
    "c": 0.10798,
    "h": 333.8
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#501648
secondary
#3A8745
accent
#E05D48
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501648

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

Preview Lab → · Contrast checker → · Palette generator →

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