#501B8A#501B8A

#501B8A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.169 H 299.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#501B8A
RGBrgb(80, 27, 138)
HSLhsl(269, 67%, 32%)
HSVhsv(269, 80%, 54%)
CMYKcmyk(42%, 80.4%, 0%, 45.9%)
CIE-LABlab(24.72, 46.21, -51.34)
CIE-LCHlch(24.72, 69.08, 311.99°)
OKLaboklab(37.21% 0.0831 -0.1468)
OKLCHoklch(37.21% 0.169 299.5)
XYZxyz(8.2865, 4.3242, 24.4379)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B8A #558A1B
analogous
#1B1D8A #501B8A #881B8A
triadic
#501B8A #8A501B #1B8A50
tetradic
#501B8A #8A1B1D #558A1B #1B8A88
square
#501B8A #8A1B1D #558A1B #1B8A88
split-complementary
#501B8A #8A881B #1D8A1B
monochromatic
#150724 #321157 #501B8A #6E25BD #8C45DB

Accessibility & contrast

On white

11.26
#501B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#501B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B8A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B8A#FFFFFF#000000##FFFFFF
##501B8A1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#423952
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #501b8a;
/* rgb */ color: rgb(80, 27, 138);
/* oklch */ color: oklch(37.2% 0.169 299.5);
Tailwind
colors: {
  custom: {
    50: '#875ead',
    500: '#501b8a',
    950: '#000000',
  },
}
SCSS
$custom: #501b8a;
$custom-light: #875ead;
$custom-dark: #000000;
JSON
{
  "hex": "#501b8a",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 268.649,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37206,
    "c": 0.16873,
    "h": 299.5
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#501B8A
secondary
#83BC45
accent
#EA3E98
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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