#501758#501758

#501758 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.121 H 322.5°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#501758
RGBrgb(80, 23, 88)
HSLhsl(293, 59%, 22%)
HSVhsv(293, 74%, 35%)
CMYKcmyk(9.1%, 73.9%, 0%, 65.5%)
CIE-LABlab(20.14, 36.17, -26.50)
CIE-LCHlch(20.14, 44.84, 323.77°)
OKLaboklab(32.72% 0.0964 -0.0739)
OKLCHoklch(32.72% 0.121 322.5)
XYZxyz(5.3759, 3.0231, 9.5310)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501758 #1F5817
analogous
#301758 #501758 #581740
triadic
#501758 #585017 #175850
tetradic
#501758 #583017 #1F5817 #174058
square
#501758 #583017 #1F5817 #174058
split-complementary
#501758 #405817 #175830
monochromatic
#160618 #240A27 #501758 #7C2489 #A830B9

Accessibility & contrast

On white

13.09
#501758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501758
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501758#FFFFFF#000000##FFFFFF
##5017581.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042C5A
Deuteranopia (green-blind)
#203356
Tritanopia (blue-blind)
#512235
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501758;
/* rgb */ color: rgb(80, 23, 88);
/* oklch */ color: oklch(32.7% 0.121 322.5);
Tailwind
colors: {
  custom: {
    50: '#845a87',
    500: '#501758',
    950: '#000000',
  },
}
SCSS
$custom: #501758;
$custom-light: #845a87;
$custom-dark: #000000;
JSON
{
  "hex": "#501758",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 292.615,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32722,
    "c": 0.12147,
    "h": 322.5
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#501758
secondary
#468F3C
accent
#E24659
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501758

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

Preview Lab → · Contrast checker → · Palette generator →

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