#501955#501955

#501955 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.116 H 324.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#501955
RGBrgb(80, 25, 85)
HSLhsl(295, 55%, 22%)
HSVhsv(295, 71%, 33%)
CMYKcmyk(5.9%, 70.6%, 0%, 66.7%)
CIE-LABlab(20.27, 34.63, -24.27)
CIE-LCHlch(20.27, 42.29, 324.97°)
OKLaboklab(32.76% 0.0939 -0.0674)
OKLCHoklch(32.76% 0.116 324.3)
XYZxyz(5.2955, 3.0569, 8.9037)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501955 #1E5519
analogous
#321955 #501955 #55193C
triadic
#501955 #555019 #195550
tetradic
#501955 #553219 #1E5519 #193C55
square
#501955 #553219 #1E5519 #193C55
split-complementary
#501955 #3C5519 #195532
monochromatic
#160718 #230B26 #501955 #7D2784 #A935B4

Accessibility & contrast

On white

13.03
#501955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#501955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501955
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501955#FFFFFF#000000##FFFFFF
##5019551.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2D57
Deuteranopia (green-blind)
#233353
Tritanopia (blue-blind)
#522234
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501955;
/* rgb */ color: rgb(80, 25, 85);
/* oklch */ color: oklch(32.8% 0.116 324.3);
Tailwind
colors: {
  custom: {
    50: '#835b85',
    500: '#501955',
    950: '#000000',
  },
}
SCSS
$custom: #501955;
$custom-light: #835b85;
$custom-dark: #000000;
JSON
{
  "hex": "#501955",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 295,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32756,
    "c": 0.1156,
    "h": 324.3
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#501955
secondary
#458B3E
accent
#DE4A56
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501955

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

Preview Lab → · Contrast checker → · Palette generator →

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