#501E7B#501E7B

#501E7B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.149 H 304.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#501E7B
RGBrgb(80, 30, 123)
HSLhsl(272, 61%, 30%)
HSVhsv(272, 76%, 48%)
CMYKcmyk(35%, 75.6%, 0%, 51.8%)
CIE-LABlab(23.88, 41.08, -43.26)
CIE-LCHlch(23.88, 59.66, 313.52°)
OKLaboklab(36.22% 0.0841 -0.1231)
OKLCHoklch(36.22% 0.149 304.3)
XYZxyz(7.3469, 4.0641, 19.1325)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E7B #497B1E
analogous
#221E7B #501E7B #7B1E77
triadic
#501E7B #7B501E #1E7B50
tetradic
#501E7B #7B221E #497B1E #1E777B
square
#501E7B #7B221E #497B1E #1E777B
split-complementary
#501E7B #777B1E #1E7B22
monochromatic
#100619 #30124A #501E7B #702AAC #8F42D1

Accessibility & contrast

On white

11.58
#501E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#501E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E7B
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E7B#FFFFFF#000000##FFFFFF
##501E7B1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#48354B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #501e7b;
/* rgb */ color: rgb(80, 30, 123);
/* oklch */ color: oklch(36.2% 0.149 304.3);
Tailwind
colors: {
  custom: {
    50: '#855fa2',
    500: '#501e7b',
    950: '#000000',
  },
}
SCSS
$custom: #501e7b;
$custom-light: #855fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#501e7b",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 272.258,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.36218,
    "c": 0.1491,
    "h": 304.3
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#501E7B
secondary
#76AE46
accent
#E4448E
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #501E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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