#501E7C#501E7C

#501E7C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.150 H 304.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#501E7C
RGBrgb(80, 30, 124)
HSLhsl(272, 61%, 30%)
HSVhsv(272, 76%, 49%)
CMYKcmyk(35.5%, 75.8%, 0%, 51.4%)
CIE-LABlab(23.96, 41.34, -43.76)
CIE-LCHlch(23.96, 60.20, 313.37°)
OKLaboklab(36.3% 0.0839 -0.1246)
OKLCHoklch(36.3% 0.15 304)
XYZxyz(7.4098, 4.0893, 19.4638)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E7C #4A7C1E
analogous
#211E7C #501E7C #7C1E79
triadic
#501E7C #7C501E #1E7C50
tetradic
#501E7C #7C211E #4A7C1E #1E797C
square
#501E7C #7C211E #4A7C1E #1E797C
split-complementary
#501E7C #797C1E #1E7C21
monochromatic
#100619 #30124B #501E7C #702AAD #8F43D1

Accessibility & contrast

On white

11.55
#501E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#501E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E7C
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E7C#FFFFFF#000000##FFFFFF
##501E7C1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#47354B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #501e7c;
/* rgb */ color: rgb(80, 30, 124);
/* oklch */ color: oklch(36.3% 0.150 304.0);
Tailwind
colors: {
  custom: {
    50: '#865fa3',
    500: '#501e7c',
    950: '#000000',
  },
}
SCSS
$custom: #501e7c;
$custom-light: #865fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#501e7c",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 271.915,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36302,
    "c": 0.15021,
    "h": 304
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

primary
#501E7C
secondary
#78AF46
accent
#E4448F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #501E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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