#501755#501755

#501755 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.119 H 324.4°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#501755
RGBrgb(80, 23, 85)
HSLhsl(295, 57%, 21%)
HSVhsv(295, 73%, 33%)
CMYKcmyk(5.9%, 72.9%, 0%, 66.7%)
CIE-LABlab(19.94, 35.55, -24.80)
CIE-LCHlch(19.94, 43.34, 325.10°)
OKLaboklab(32.52% 0.0964 -0.0689)
OKLCHoklch(32.52% 0.119 324.4)
XYZxyz(5.2542, 2.9745, 8.8899)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501755 #1C5517
analogous
#311755 #501755 #55173B
triadic
#501755 #555017 #175550
tetradic
#501755 #553117 #1C5517 #173B55
square
#501755 #553117 #1C5517 #173B55
split-complementary
#501755 #3B5517 #175531
monochromatic
#170718 #230A25 #501755 #7D2485 #AB31B5

Accessibility & contrast

On white

13.17
#501755 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#501755 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501755
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501755#FFFFFF#000000##FFFFFF
##5017551.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092C57
Deuteranopia (green-blind)
#223353
Tritanopia (blue-blind)
#522134
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501755;
/* rgb */ color: rgb(80, 23, 85);
/* oklch */ color: oklch(32.5% 0.119 324.4);
Tailwind
colors: {
  custom: {
    50: '#835a85',
    500: '#501755',
    950: '#000000',
  },
}
SCSS
$custom: #501755;
$custom-light: #835a85;
$custom-dark: #000000;
JSON
{
  "hex": "#501755",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 85
  },
  "hsl": {
    "h": 295.161,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32519,
    "c": 0.11854,
    "h": 324.4
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#501755
secondary
#428C3C
accent
#E14754
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501755

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

Preview Lab → · Contrast checker → · Palette generator →

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