#501E93#501E93

#501E93 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.175 H 296.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#501E93
RGBrgb(80, 30, 147)
HSLhsl(266, 66%, 35%)
HSVhsv(266, 80%, 58%)
CMYKcmyk(45.6%, 79.6%, 0%, 42.4%)
CIE-LABlab(25.98, 47.26, -54.86)
CIE-LCHlch(25.98, 72.40, 310.74°)
OKLaboklab(38.34% 0.0779 -0.1572)
OKLCHoklch(38.34% 0.175 296.4)
XYZxyz(9.0376, 4.7404, 28.0369)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E93 #61931E
analogous
#1E2693 #501E93 #8B1E93
triadic
#501E93 #93501E #1E9350
tetradic
#501E93 #931E26 #61931E #1E938B
square
#501E93 #931E26 #61931E #1E938B
split-complementary
#501E93 #938B1E #26931E
monochromatic
#19092D #341460 #501E93 #6C28C6 #8C50DB

Accessibility & contrast

On white

10.78
#501E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#501E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E93
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E93#FFFFFF#000000##FFFFFF
##501E931.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#3E3E58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #501e93;
/* rgb */ color: rgb(80, 30, 147);
/* oklch */ color: oklch(38.3% 0.175 296.4);
Tailwind
colors: {
  custom: {
    50: '#8860b4',
    500: '#501e93',
    950: '#000000',
  },
}
SCSS
$custom: #501e93;
$custom-light: #8860b4;
$custom-dark: #000000;
JSON
{
  "hex": "#501e93",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 265.641,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38343,
    "c": 0.17544,
    "h": 296.4
  },
  "luminance": 0.04741
}

Semantic roles & 50–950 ramp

primary
#501E93
secondary
#8FBE4F
accent
#E93FA0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501E93

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

Preview Lab → · Contrast checker → · Palette generator →

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