#501B89#501B89

#501B89 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.168 H 299.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#501B89
RGBrgb(80, 27, 137)
HSLhsl(269, 67%, 32%)
HSVhsv(269, 80%, 54%)
CMYKcmyk(41.6%, 80.3%, 0%, 46.3%)
CIE-LABlab(24.62, 45.96, -50.87)
CIE-LCHlch(24.62, 68.55, 312.10°)
OKLaboklab(37.11% 0.0834 -0.1454)
OKLCHoklch(37.11% 0.168 299.8)
XYZxyz(8.2144, 4.2954, 24.0584)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B89 #54891B
analogous
#1B1D89 #501B89 #871B89
triadic
#501B89 #89501B #1B8950
tetradic
#501B89 #891B1D #54891B #1B8987
square
#501B89 #891B1D #54891B #1B8987
split-complementary
#501B89 #89871B #1D891B
monochromatic
#140723 #321156 #501B89 #6E25BC #8C44DA

Accessibility & contrast

On white

11.30
#501B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501B89
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B89#FFFFFF#000000##FFFFFF
##501B891.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#423952
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501b89;
/* rgb */ color: rgb(80, 27, 137);
/* oklch */ color: oklch(37.1% 0.168 299.8);
Tailwind
colors: {
  custom: {
    50: '#875eac',
    500: '#501b89',
    950: '#000000',
  },
}
SCSS
$custom: #501b89;
$custom-light: #875eac;
$custom-dark: #000000;
JSON
{
  "hex": "#501b89",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 268.909,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37115,
    "c": 0.16766,
    "h": 299.8
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#501B89
secondary
#82BC44
accent
#EA3E97
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501B89

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

Preview Lab → · Contrast checker → · Palette generator →

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