#501855#501855

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

Color values

HEX#501855
RGBrgb(80, 24, 85)
HSLhsl(295, 56%, 21%)
HSVhsv(295, 72%, 33%)
CMYKcmyk(5.9%, 71.8%, 0%, 66.7%)
CIE-LABlab(20.10, 35.10, -24.54)
CIE-LCHlch(20.10, 42.82, 325.04°)
OKLaboklab(32.64% 0.0952 -0.0682)
OKLCHoklch(32.64% 0.117 324.4)
XYZxyz(5.2745, 3.0149, 8.8967)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501855 #1D5518
analogous
#321855 #501855 #55183C
triadic
#501855 #555018 #185550
tetradic
#501855 #553218 #1D5518 #183C55
square
#501855 #553218 #1D5518 #183C55
split-complementary
#501855 #3C5518 #185532
monochromatic
#160718 #230B25 #501855 #7D2585 #AA33B4

Accessibility & contrast

On white

13.10
#501855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501855
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501855#FFFFFF#000000##FFFFFF
##5018551.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501855;
/* rgb */ color: rgb(80, 24, 85);
/* oklch */ color: oklch(32.6% 0.117 324.4);
Tailwind
colors: {
  custom: {
    50: '#835a85',
    500: '#501855',
    950: '#000000',
  },
}
SCSS
$custom: #501855;
$custom-light: #835a85;
$custom-dark: #000000;
JSON
{
  "hex": "#501855",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 295.082,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32636,
    "c": 0.11709,
    "h": 324.4
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#501855
secondary
#448C3D
accent
#DF4955
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501855

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

Preview Lab → · Contrast checker → · Palette generator →

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