#501B9E#501B9E

#501B9E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.190 H 293.7°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#501B9E
RGBrgb(80, 27, 158)
HSLhsl(264, 71%, 36%)
HSVhsv(264, 83%, 62%)
CMYKcmyk(49.4%, 82.9%, 0%, 38%)
CIE-LABlab(26.61, 51.34, -60.57)
CIE-LCHlch(26.61, 79.40, 310.28°)
OKLaboklab(39.1% 0.0765 -0.1739)
OKLCHoklch(39.1% 0.19 293.7)
XYZxyz(9.8700, 4.9576, 32.7780)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B9E #699E1B
analogous
#1B279E #501B9E #921B9E
triadic
#501B9E #9E501B #1B9E50
tetradic
#501B9E #9E1B27 #699E1B #1B9E92
square
#501B9E #9E1B27 #699E1B #1B9E92
split-complementary
#501B9E #9E921B #279E1B
monochromatic
#1B0935 #36126A #501B9E #6A24D2 #8C52E1

Accessibility & contrast

On white

10.54
#501B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#501B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B9E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B9E#FFFFFF#000000##FFFFFF
##501B9E1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#37425E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #501b9e;
/* rgb */ color: rgb(80, 27, 158);
/* oklch */ color: oklch(39.1% 0.190 293.7);
Tailwind
colors: {
  custom: {
    50: '#8a60bc',
    500: '#501b9e',
    950: '#000000',
  },
}
SCSS
$custom: #501b9e;
$custom-light: #8a60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#501b9e",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 264.275,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39101,
    "c": 0.18997,
    "h": 293.7
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#501B9E
secondary
#95C451
accent
#EE3AA5
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #501B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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