#501B62#501B62

#501B62 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 33.9% C 0.126 H 316.3°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#501B62
RGBrgb(80, 27, 98)
HSLhsl(285, 57%, 25%)
HSVhsv(285, 72%, 38%)
CMYKcmyk(18.4%, 72.4%, 0%, 61.6%)
CIE-LABlab(21.47, 36.50, -30.99)
CIE-LCHlch(21.47, 47.88, 319.66°)
OKLaboklab(33.9% 0.0911 -0.0871)
OKLCHoklch(33.9% 0.126 316.3)
XYZxyz(5.9045, 3.3714, 11.8926)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B62 #2D621B
analogous
#2D1B62 #501B62 #621B51
triadic
#501B62 #62501B #1B6250
tetradic
#501B62 #622D1B #2D621B #1B5162
square
#501B62 #622D1B #2D621B #1B5162
split-complementary
#501B62 #51621B #1B622D
monochromatic
#140718 #290E32 #501B62 #772892 #9E35C2

Accessibility & contrast

On white

12.54
#501B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#501B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B62
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B62#FFFFFF#000000##FFFFFF
##501B621.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003064
Deuteranopia (green-blind)
#1B3560
Tritanopia (blue-blind)
#4F293C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501b62;
/* rgb */ color: rgb(80, 27, 98);
/* oklch */ color: oklch(33.9% 0.126 316.3);
Tailwind
colors: {
  custom: {
    50: '#845c8f',
    500: '#501b62',
    950: '#000000',
  },
}
SCSS
$custom: #501b62;
$custom-light: #845c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#501b62",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 284.789,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.339,
    "c": 0.12599,
    "h": 316.3
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#501B62
secondary
#579841
accent
#E0486E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501B62

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

Preview Lab → · Contrast checker → · Palette generator →

#501B62 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva