#501E88#501E88

#501E88 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.163 H 299.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#501E88
RGBrgb(80, 30, 136)
HSLhsl(268, 64%, 33%)
HSVhsv(268, 78%, 53%)
CMYKcmyk(41.2%, 77.9%, 0%, 46.7%)
CIE-LABlab(24.99, 44.40, -49.65)
CIE-LCHlch(24.99, 66.61, 311.81°)
OKLaboklab(37.34% 0.0811 -0.1419)
OKLCHoklch(37.34% 0.163 299.7)
XYZxyz(8.2154, 4.4115, 23.7065)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E88 #56881E
analogous
#1E2188 #501E88 #851E88
triadic
#501E88 #88501E #1E8850
tetradic
#501E88 #881E21 #56881E #1E8885
square
#501E88 #881E21 #56881E #1E8885
split-complementary
#501E88 #88851E #21881E
monochromatic
#150824 #331356 #501E88 #6D29BA #8C49D7

Accessibility & contrast

On white

11.16
#501E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#501E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E88
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E88#FFFFFF#000000##FFFFFF
##501E881.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#433A52
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #501e88;
/* rgb */ color: rgb(80, 30, 136);
/* oklch */ color: oklch(37.3% 0.163 299.7);
Tailwind
colors: {
  custom: {
    50: '#8760ac',
    500: '#501e88',
    950: '#000000',
  },
}
SCSS
$custom: #501e88;
$custom-light: #8760ac;
$custom-dark: #000000;
JSON
{
  "hex": "#501e88",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 268.302,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37341,
    "c": 0.16342,
    "h": 299.7
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#501E88
secondary
#84B949
accent
#E74199
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501E88

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

Preview Lab → · Contrast checker → · Palette generator →

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