#501E9D#501E9D

#501E9D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.186 H 293.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#501E9D
RGBrgb(80, 30, 157)
HSLhsl(264, 68%, 37%)
HSVhsv(264, 81%, 62%)
CMYKcmyk(49%, 80.9%, 0%, 38.4%)
CIE-LABlab(26.93, 49.88, -59.44)
CIE-LCHlch(26.93, 77.60, 310.00°)
OKLaboklab(39.29% 0.0748 -0.1706)
OKLCHoklch(39.29% 0.186 293.7)
XYZxyz(9.8567, 5.0680, 32.3506)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E9D #6B9D1E
analogous
#1E2C9D #501E9D #901E9D
triadic
#501E9D #9D501E #1E9D50
tetradic
#501E9D #9D1E2C #6B9D1E #1E9D90
square
#501E9D #9D1E2C #6B9D1E #1E9D90
split-complementary
#501E9D #9D901E #2C9D1E
monochromatic
#1C0A36 #36146A #501E9D #6A28D0 #8C57DF

Accessibility & contrast

On white

10.43
#501E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#501E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E9D
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E9D#FFFFFF#000000##FFFFFF
##501E9D1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#38435E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #501e9d;
/* rgb */ color: rgb(80, 30, 157);
/* oklch */ color: oklch(39.3% 0.186 293.7);
Tailwind
colors: {
  custom: {
    50: '#8a61bb',
    500: '#501e9d',
    950: '#000000',
  },
}
SCSS
$custom: #501e9d;
$custom-light: #8a61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#501e9d",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 263.622,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39289,
    "c": 0.18628,
    "h": 293.7
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#501E9D
secondary
#97C254
accent
#EB3DA6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #501E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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