#501F67#501F67

#501F67 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.8% C 0.126 H 313.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#501F67
RGBrgb(80, 31, 103)
HSLhsl(281, 54%, 26%)
HSVhsv(281, 70%, 40%)
CMYKcmyk(22.3%, 69.9%, 0%, 59.6%)
CIE-LABlab(22.53, 35.69, -32.57)
CIE-LCHlch(22.53, 48.32, 317.61°)
OKLaboklab(34.77% 0.0857 -0.0917)
OKLCHoklch(34.77% 0.126 313.1)
XYZxyz(6.2460, 3.6649, 13.2077)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F67 #36671F
analogous
#2C1F67 #501F67 #671F5A
triadic
#501F67 #67501F #1F6750
tetradic
#501F67 #672C1F #36671F #1F5A67
square
#501F67 #672C1F #36671F #1F5A67
split-complementary
#501F67 #5A671F #1F672C
monochromatic
#120718 #2B1138 #501F67 #752D96 #993CC4

Accessibility & contrast

On white

12.12
#501F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501F67
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F67#FFFFFF#000000##FFFFFF
##501F671.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#1A3765
Tritanopia (blue-blind)
#4E2D40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501f67;
/* rgb */ color: rgb(80, 31, 103);
/* oklch */ color: oklch(34.8% 0.126 313.1);
Tailwind
colors: {
  custom: {
    50: '#845f93',
    500: '#501f67',
    950: '#000000',
  },
}
SCSS
$custom: #501f67;
$custom-light: #845f93;
$custom-dark: #000000;
JSON
{
  "hex": "#501f67",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 103
  },
  "hsl": {
    "h": 280.833,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34771,
    "c": 0.12555,
    "h": 313.1
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#501F67
secondary
#629B46
accent
#DD4B79
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #501F67

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

Preview Lab → · Contrast checker → · Palette generator →

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