#501658#501658

#501658 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.123 H 322.6°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#501658
RGBrgb(80, 22, 88)
HSLhsl(293, 60%, 22%)
HSVhsv(293, 75%, 35%)
CMYKcmyk(9.1%, 75%, 0%, 65.5%)
CIE-LABlab(19.98, 36.61, -26.75)
CIE-LCHlch(19.98, 45.34, 323.85°)
OKLaboklab(32.61% 0.0976 -0.0746)
OKLCHoklch(32.61% 0.123 322.6)
XYZxyz(5.3564, 2.9842, 9.5245)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501658 #1E5816
analogous
#2F1658 #501658 #58163F
triadic
#501658 #585016 #165850
tetradic
#501658 #582F16 #1E5816 #163F58
square
#501658 #582F16 #1E5816 #163F58
split-complementary
#501658 #3F5816 #16582F
monochromatic
#160618 #230A27 #501658 #7D2289 #A92EBA

Accessibility & contrast

On white

13.15
#501658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#501658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501658
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501658#FFFFFF#000000##FFFFFF
##5016581.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022C5A
Deuteranopia (green-blind)
#203256
Tritanopia (blue-blind)
#512135
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501658;
/* rgb */ color: rgb(80, 22, 88);
/* oklch */ color: oklch(32.6% 0.123 322.6);
Tailwind
colors: {
  custom: {
    50: '#845987',
    500: '#501658',
    950: '#000000',
  },
}
SCSS
$custom: #501658;
$custom-light: #845987;
$custom-dark: #000000;
JSON
{
  "hex": "#501658",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 292.727,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3261,
    "c": 0.12286,
    "h": 322.6
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#501658
secondary
#458F3B
accent
#E34558
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501658

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

Preview Lab → · Contrast checker → · Palette generator →

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