#501E8F#501E8F

#501E8F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.171 H 297.5°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#501E8F
RGBrgb(80, 30, 143)
HSLhsl(267, 65%, 34%)
HSVhsv(267, 79%, 56%)
CMYKcmyk(44.1%, 79%, 0%, 43.9%)
CIE-LABlab(25.61, 46.21, -52.98)
CIE-LCHlch(25.61, 70.31, 311.10°)
OKLaboklab(37.97% 0.0791 -0.1517)
OKLCHoklch(37.97% 0.171 297.5)
XYZxyz(8.7292, 4.6170, 26.4125)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E8F #5D8F1E
analogous
#1E248F #501E8F #891E8F
triadic
#501E8F #8F501E #1E8F50
tetradic
#501E8F #8F1E24 #5D8F1E #1E8F89
square
#501E8F #8F1E24 #5D8F1E #1E8F89
split-complementary
#501E8F #8F891E #248F1E
monochromatic
#17092A #34135C #501E8F #6C29C2 #8C4EDA

Accessibility & contrast

On white

10.92
#501E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#501E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E8F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E8F#FFFFFF#000000##FFFFFF
##501E8F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#403D56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #501e8f;
/* rgb */ color: rgb(80, 30, 143);
/* oklch */ color: oklch(38.0% 0.171 297.5);
Tailwind
colors: {
  custom: {
    50: '#8860b1',
    500: '#501e8f',
    950: '#000000',
  },
}
SCSS
$custom: #501e8f;
$custom-light: #8860b1;
$custom-dark: #000000;
JSON
{
  "hex": "#501e8f",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 266.549,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37973,
    "c": 0.17107,
    "h": 297.5
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

primary
#501E8F
secondary
#8BBC4C
accent
#E8409E
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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