#501E89#501E89

#501E89 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.165 H 299.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#501E89
RGBrgb(80, 30, 137)
HSLhsl(268, 64%, 33%)
HSVhsv(268, 78%, 54%)
CMYKcmyk(41.6%, 78.1%, 0%, 46.3%)
CIE-LABlab(25.08, 44.66, -50.13)
CIE-LCHlch(25.08, 67.14, 311.70°)
OKLaboklab(37.43% 0.0808 -0.1433)
OKLCHoklch(37.43% 0.165 299.4)
XYZxyz(8.2868, 4.4401, 24.0825)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E89 #57891E
analogous
#1E2289 #501E89 #851E89
triadic
#501E89 #89501E #1E8950
tetradic
#501E89 #891E22 #57891E #1E8985
square
#501E89 #891E22 #57891E #1E8985
split-complementary
#501E89 #89851E #22891E
monochromatic
#150825 #331357 #501E89 #6D29BB #8C4AD7

Accessibility & contrast

On white

11.12
#501E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#501E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E89
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E89#FFFFFF#000000##FFFFFF
##501E891.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#423A52
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #501e89;
/* rgb */ color: rgb(80, 30, 137);
/* oklch */ color: oklch(37.4% 0.165 299.4);
Tailwind
colors: {
  custom: {
    50: '#8760ac',
    500: '#501e89',
    950: '#000000',
  },
}
SCSS
$custom: #501e89;
$custom-light: #8760ac;
$custom-dark: #000000;
JSON
{
  "hex": "#501e89",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 268.037,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3743,
    "c": 0.16451,
    "h": 299.4
  },
  "luminance": 0.0444
}

Semantic roles & 50–950 ramp

primary
#501E89
secondary
#85BA49
accent
#E74199
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501E89

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

Preview Lab → · Contrast checker → · Palette generator →

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