#501E9B#501E9B

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

Color values

HEX#501E9B
RGBrgb(80, 30, 155)
HSLhsl(264, 68%, 36%)
HSVhsv(264, 81%, 61%)
CMYKcmyk(48.4%, 80.6%, 0%, 39.2%)
CIE-LABlab(26.74, 49.35, -58.54)
CIE-LCHlch(26.74, 76.56, 310.13°)
OKLaboklab(39.1% 0.0754 -0.168)
OKLCHoklch(39.1% 0.184 294.2)
XYZxyz(9.6873, 5.0003, 31.4587)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E9B #699B1E
analogous
#1E2B9B #501E9B #8F1E9B
triadic
#501E9B #9B501E #1E9B50
tetradic
#501E9B #9B1E2B #699B1E #1E9B8F
square
#501E9B #9B1E2B #699B1E #1E9B8F
split-complementary
#501E9B #9B8F1E #2B9B1E
monochromatic
#1B0A34 #361468 #501E9B #6A28CE #8C55DE

Accessibility & contrast

On white

10.50
#501E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#501E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E9B
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E9B#FFFFFF#000000##FFFFFF
##501E9B1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#39425D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #501e9b;
/* rgb */ color: rgb(80, 30, 155);
/* oklch */ color: oklch(39.1% 0.184 294.2);
Tailwind
colors: {
  custom: {
    50: '#8961ba',
    500: '#501e9b',
    950: '#000000',
  },
}
SCSS
$custom: #501e9b;
$custom-light: #8961ba;
$custom-dark: #000000;
JSON
{
  "hex": "#501e9b",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 264,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39097,
    "c": 0.18412,
    "h": 294.2
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#501E9B
secondary
#95C253
accent
#EA3DA5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #501E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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