#501B65#501B65

#501B65 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.129 H 314.7°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#501B65
RGBrgb(80, 27, 101)
HSLhsl(283, 58%, 25%)
HSVhsv(283, 73%, 40%)
CMYKcmyk(20.8%, 73.3%, 0%, 60.4%)
CIE-LABlab(21.69, 37.18, -32.62)
CIE-LCHlch(21.69, 49.46, 318.74°)
OKLaboklab(34.12% 0.0908 -0.0918)
OKLCHoklch(34.12% 0.129 314.7)
XYZxyz(6.0488, 3.4291, 12.6527)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B65 #30651B
analogous
#2B1B65 #501B65 #651B55
triadic
#501B65 #65501B #1B6550
tetradic
#501B65 #652B1B #30651B #1B5565
square
#501B65 #652B1B #30651B #1B5565
split-complementary
#501B65 #55651B #1B652B
monochromatic
#130618 #2A0E35 #501B65 #762895 #9D35C6

Accessibility & contrast

On white

12.46
#501B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#501B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B65
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B65#FFFFFF#000000##FFFFFF
##501B651.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#183563
Tritanopia (blue-blind)
#4E2A3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501b65;
/* rgb */ color: rgb(80, 27, 101);
/* oklch */ color: oklch(34.1% 0.129 314.7);
Tailwind
colors: {
  custom: {
    50: '#845c91',
    500: '#501b65',
    950: '#000000',
  },
}
SCSS
$custom: #501b65;
$custom-light: #845c91;
$custom-dark: #000000;
JSON
{
  "hex": "#501b65",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 282.973,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3412,
    "c": 0.12916,
    "h": 314.7
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#501B65
secondary
#5B9A41
accent
#E14773
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501B65

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

Preview Lab → · Contrast checker → · Palette generator →

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