#501B88#501B88

#501B88 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.167 H 300.2°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#501B88
RGBrgb(80, 27, 136)
HSLhsl(269, 67%, 32%)
HSVhsv(269, 80%, 53%)
CMYKcmyk(41.2%, 80.1%, 0%, 46.7%)
CIE-LABlab(24.53, 45.70, -50.39)
CIE-LCHlch(24.53, 68.03, 312.21°)
OKLaboklab(37.02% 0.0837 -0.144)
OKLCHoklch(37.02% 0.167 300.2)
XYZxyz(8.1430, 4.2668, 23.6823)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B88 #53881B
analogous
#1B1D88 #501B88 #871B88
triadic
#501B88 #88501B #1B8850
tetradic
#501B88 #881B1D #53881B #1B8887
square
#501B88 #881B1D #53881B #1B8887
split-complementary
#501B88 #88871B #1D881B
monochromatic
#140722 #321155 #501B88 #6E25BB #8D44DA

Accessibility & contrast

On white

11.33
#501B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#501B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B88
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B88#FFFFFF#000000##FFFFFF
##501B881.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#433951
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501b88;
/* rgb */ color: rgb(80, 27, 136);
/* oklch */ color: oklch(37.0% 0.167 300.2);
Tailwind
colors: {
  custom: {
    50: '#875eac',
    500: '#501b88',
    950: '#000000',
  },
}
SCSS
$custom: #501b88;
$custom-light: #875eac;
$custom-dark: #000000;
JSON
{
  "hex": "#501b88",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 269.174,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37024,
    "c": 0.1666,
    "h": 300.2
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#501B88
secondary
#81BB44
accent
#EA3E96
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501B88

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

Preview Lab → · Contrast checker → · Palette generator →

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