#501F85#501F85

#501F85 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.159 H 300.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#501F85
RGBrgb(80, 31, 133)
HSLhsl(269, 62%, 32%)
HSVhsv(269, 77%, 52%)
CMYKcmyk(39.8%, 76.7%, 0%, 47.8%)
CIE-LABlab(24.89, 43.17, -47.94)
CIE-LCHlch(24.89, 64.51, 312.00°)
OKLaboklab(37.19% 0.0809 -0.1369)
OKLCHoklch(37.19% 0.159 300.6)
XYZxyz(8.0308, 4.3788, 22.6079)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F85 #54851F
analogous
#1F2185 #501F85 #831F85
triadic
#501F85 #85501F #1F8550
tetradic
#501F85 #851F21 #54851F #1F8583
square
#501F85 #851F21 #54851F #1F8583
split-complementary
#501F85 #85831F #21851F
monochromatic
#140822 #321353 #501F85 #6E2BB7 #8C4AD5

Accessibility & contrast

On white

11.20
#501F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#501F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F85
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F85#FFFFFF#000000##FFFFFF
##501F851.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#443950
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #501f85;
/* rgb */ color: rgb(80, 31, 133);
/* oklch */ color: oklch(37.2% 0.159 300.6);
Tailwind
colors: {
  custom: {
    50: '#8660a9',
    500: '#501f85',
    950: '#000000',
  },
}
SCSS
$custom: #501f85;
$custom-light: #8660a9;
$custom-dark: #000000;
JSON
{
  "hex": "#501f85",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 268.824,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37189,
    "c": 0.15898,
    "h": 300.6
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#501F85
secondary
#82B749
accent
#E54397
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501F85

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

Preview Lab → · Contrast checker → · Palette generator →

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