#501A67#501A67

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

Color values

HEX#501A67
RGBrgb(80, 26, 103)
HSLhsl(282, 60%, 25%)
HSVhsv(282, 75%, 40%)
CMYKcmyk(22.3%, 74.8%, 0%, 59.6%)
CIE-LABlab(21.67, 38.11, -33.96)
CIE-LCHlch(21.67, 51.04, 318.29°)
OKLaboklab(34.15% 0.0918 -0.0958)
OKLCHoklch(34.15% 0.133 313.8)
XYZxyz(6.1254, 3.4237, 13.1675)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501A67 #31671A
analogous
#291A67 #501A67 #671A57
triadic
#501A67 #67501A #1A6750
tetradic
#501A67 #67291A #31671A #1A5767
square
#501A67 #67291A #31671A #1A5767
split-complementary
#501A67 #57671A #1A6729
monochromatic
#130618 #2A0E36 #501A67 #762698 #9C33C9

Accessibility & contrast

On white

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

On black

1.68
#501A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##501A67#FFFFFF#000000##FFFFFF
##501A671.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501a67;
/* rgb */ color: rgb(80, 26, 103);
/* oklch */ color: oklch(34.2% 0.133 313.8);
Tailwind
colors: {
  custom: {
    50: '#845c93',
    500: '#501a67',
    950: '#000000',
  },
}
SCSS
$custom: #501a67;
$custom-light: #845c93;
$custom-dark: #000000;
JSON
{
  "hex": "#501a67",
  "rgb": {
    "r": 80,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 282.078,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34152,
    "c": 0.13264,
    "h": 313.8
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#501A67
secondary
#5C9D40
accent
#E34574
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501A67

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

Preview Lab → · Contrast checker → · Palette generator →

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