#501E8C#501E8C

#501E8C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.168 H 298.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#501E8C
RGBrgb(80, 30, 140)
HSLhsl(267, 65%, 33%)
HSVhsv(267, 79%, 55%)
CMYKcmyk(42.9%, 78.6%, 0%, 45.1%)
CIE-LABlab(25.34, 45.44, -51.56)
CIE-LCHlch(25.34, 68.73, 311.38°)
OKLaboklab(37.7% 0.08 -0.1475)
OKLCHoklch(37.7% 0.168 298.5)
XYZxyz(8.5049, 4.5273, 25.2316)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E8C #5A8C1E
analogous
#1E238C #501E8C #871E8C
triadic
#501E8C #8C501E #1E8C50
tetradic
#501E8C #8C1E23 #5A8C1E #1E8C87
square
#501E8C #8C1E23 #5A8C1E #1E8C87
split-complementary
#501E8C #8C871E #238C1E
monochromatic
#160827 #33135A #501E8C #6D29BE #8C4CD9

Accessibility & contrast

On white

11.02
#501E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#501E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E8C
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E8C#FFFFFF#000000##FFFFFF
##501E8C1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#413C54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #501e8c;
/* rgb */ color: rgb(80, 30, 140);
/* oklch */ color: oklch(37.7% 0.168 298.5);
Tailwind
colors: {
  custom: {
    50: '#8760af',
    500: '#501e8c',
    950: '#000000',
  },
}
SCSS
$custom: #501e8c;
$custom-light: #8760af;
$custom-dark: #000000;
JSON
{
  "hex": "#501e8c",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 267.273,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.377,
    "c": 0.16779,
    "h": 298.5
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#501E8C
secondary
#88BB4B
accent
#E8409C
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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