#501D94#501D94

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

Color values

HEX#501D94
RGBrgb(80, 29, 148)
HSLhsl(266, 67%, 35%)
HSVhsv(266, 80%, 58%)
CMYKcmyk(45.9%, 80.4%, 0%, 42%)
CIE-LABlab(25.93, 47.94, -55.56)
CIE-LCHlch(25.93, 73.39, 310.79°)
OKLaboklab(38.33% 0.0784 -0.1592)
OKLCHoklch(38.33% 0.178 296.2)
XYZxyz(9.0915, 4.7221, 28.4437)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D94 #61941D
analogous
#1D2694 #501D94 #8C1D94
triadic
#501D94 #94501D #1D9450
tetradic
#501D94 #941D26 #61941D #1D948C
square
#501D94 #941D26 #61941D #1D948C
split-complementary
#501D94 #948C1D #26941D
monochromatic
#19092E #341361 #501D94 #6C27C7 #8C4FDC

Accessibility & contrast

On white

10.80
#501D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#501D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D94
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D94#FFFFFF#000000##FFFFFF
##501D941.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501d94;
/* rgb */ color: rgb(80, 29, 148);
/* oklch */ color: oklch(38.3% 0.177 296.2);
Tailwind
colors: {
  custom: {
    50: '#8860b4',
    500: '#501d94',
    950: '#000000',
  },
}
SCSS
$custom: #501d94;
$custom-light: #8860b4;
$custom-dark: #000000;
JSON
{
  "hex": "#501d94",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 265.714,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38333,
    "c": 0.1775,
    "h": 296.2
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#501D94
secondary
#8FBF4E
accent
#EA3EA0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501D94

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

Preview Lab → · Contrast checker → · Palette generator →

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