#501F66#501F66

#501F66 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.124 H 313.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#501F66
RGBrgb(80, 31, 102)
HSLhsl(281, 53%, 26%)
HSVhsv(281, 70%, 40%)
CMYKcmyk(21.6%, 69.6%, 0%, 60%)
CIE-LABlab(22.46, 35.45, -32.03)
CIE-LCHlch(22.46, 47.78, 317.90°)
OKLaboklab(34.7% 0.0858 -0.0901)
OKLCHoklch(34.7% 0.124 313.6)
XYZxyz(6.1961, 3.6449, 12.9449)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F66 #35661F
analogous
#2C1F66 #501F66 #661F58
triadic
#501F66 #66501F #1F6650
tetradic
#501F66 #662C1F #35661F #1F5866
square
#501F66 #662C1F #35661F #1F5866
split-complementary
#501F66 #58661F #1F662C
monochromatic
#120717 #2B1137 #501F66 #752D95 #9A3CC4

Accessibility & contrast

On white

12.15
#501F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#501F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F66
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F66#FFFFFF#000000##FFFFFF
##501F661.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#1B3764
Tritanopia (blue-blind)
#4E2D3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501f66;
/* rgb */ color: rgb(80, 31, 102);
/* oklch */ color: oklch(34.7% 0.124 313.6);
Tailwind
colors: {
  custom: {
    50: '#845f92',
    500: '#501f66',
    950: '#000000',
  },
}
SCSS
$custom: #501f66;
$custom-light: #845f92;
$custom-dark: #000000;
JSON
{
  "hex": "#501f66",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 281.408,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34698,
    "c": 0.12443,
    "h": 313.6
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#501F66
secondary
#609A46
accent
#DD4B78
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #501F66

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

Preview Lab → · Contrast checker → · Palette generator →

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