#501E67#501E67

#501E67 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.127 H 313.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#501E67
RGBrgb(80, 30, 103)
HSLhsl(281, 55%, 26%)
HSVhsv(281, 71%, 40%)
CMYKcmyk(22.3%, 70.9%, 0%, 59.6%)
CIE-LABlab(22.35, 36.19, -32.86)
CIE-LCHlch(22.35, 48.88, 317.76°)
OKLaboklab(34.64% 0.087 -0.0926)
OKLCHoklch(34.64% 0.127 313.2)
XYZxyz(6.2203, 3.6135, 13.1991)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E67 #35671E
analogous
#2B1E67 #501E67 #671E59
triadic
#501E67 #67501E #1E6750
tetradic
#501E67 #672B1E #35671E #1E5967
square
#501E67 #672B1E #35671E #1E5967
split-complementary
#501E67 #59671E #1E672B
monochromatic
#120718 #2B1038 #501E67 #752C96 #9A3AC6

Accessibility & contrast

On white

12.19
#501E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#501E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E67
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E67#FFFFFF#000000##FFFFFF
##501E671.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#193765
Tritanopia (blue-blind)
#4E2D40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501e67;
/* rgb */ color: rgb(80, 30, 103);
/* oklch */ color: oklch(34.6% 0.127 313.2);
Tailwind
colors: {
  custom: {
    50: '#845e93',
    500: '#501e67',
    950: '#000000',
  },
}
SCSS
$custom: #501e67;
$custom-light: #845e93;
$custom-dark: #000000;
JSON
{
  "hex": "#501e67",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 281.096,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34641,
    "c": 0.12702,
    "h": 313.2
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#501E67
secondary
#609C45
accent
#DE4A78
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #501E67

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

Preview Lab → · Contrast checker → · Palette generator →

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