#501E94#501E94

#501E94 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.177 H 296.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#501E94
RGBrgb(80, 30, 148)
HSLhsl(265, 66%, 35%)
HSVhsv(265, 80%, 58%)
CMYKcmyk(45.9%, 79.7%, 0%, 42%)
CIE-LABlab(26.07, 47.52, -55.32)
CIE-LCHlch(26.07, 72.93, 310.66°)
OKLaboklab(38.44% 0.0776 -0.1585)
OKLCHoklch(38.44% 0.177 296.1)
XYZxyz(9.1164, 4.7719, 28.4520)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E94 #62941E
analogous
#1E2794 #501E94 #8B1E94
triadic
#501E94 #94501E #1E9450
tetradic
#501E94 #941E27 #62941E #1E948B
square
#501E94 #941E27 #62941E #1E948B
split-complementary
#501E94 #948B1E #27941E
monochromatic
#19092E #341461 #501E94 #6C28C7 #8C51DC

Accessibility & contrast

On white

10.74
#501E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501E94
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E94#FFFFFF#000000##FFFFFF
##501E941.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#3D3F59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #501e94;
/* rgb */ color: rgb(80, 30, 148);
/* oklch */ color: oklch(38.4% 0.177 296.1);
Tailwind
colors: {
  custom: {
    50: '#8860b4',
    500: '#501e94',
    950: '#000000',
  },
}
SCSS
$custom: #501e94;
$custom-light: #8860b4;
$custom-dark: #000000;
JSON
{
  "hex": "#501e94",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 265.424,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38436,
    "c": 0.17652,
    "h": 296.1
  },
  "luminance": 0.04772
}

Semantic roles & 50–950 ramp

primary
#501E94
secondary
#8FBF4F
accent
#E93FA1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501E94

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

Preview Lab → · Contrast checker → · Palette generator →

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