#501E6C#501E6C

#501E6C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.133 H 310.7°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#501E6C
RGBrgb(80, 30, 108)
HSLhsl(278, 57%, 27%)
HSVhsv(278, 72%, 42%)
CMYKcmyk(25.9%, 72.2%, 0%, 57.6%)
CIE-LABlab(22.71, 37.38, -35.53)
CIE-LCHlch(22.71, 51.57, 316.46°)
OKLaboklab(35.02% 0.0865 -0.1004)
OKLCHoklch(35.02% 0.133 310.7)
XYZxyz(6.4788, 3.7169, 14.5606)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E6C #3A6C1E
analogous
#291E6C #501E6C #6C1E61
triadic
#501E6C #6C501E #1E6C50
tetradic
#501E6C #6C291E #3A6C1E #1E616C
square
#501E6C #6C291E #3A6C1E #1E616C
split-complementary
#501E6C #616C1E #1E6C29
monochromatic
#120718 #2D113C #501E6C #732B9C #963CC9

Accessibility & contrast

On white

12.05
#501E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#501E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E6C
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E6C#FFFFFF#000000##FFFFFF
##501E6C1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#13376A
Tritanopia (blue-blind)
#4C2F42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501e6c;
/* rgb */ color: rgb(80, 30, 108);
/* oklch */ color: oklch(35.0% 0.133 310.7);
Tailwind
colors: {
  custom: {
    50: '#845e97',
    500: '#501e6c',
    950: '#000000',
  },
}
SCSS
$custom: #501e6c;
$custom-light: #845e97;
$custom-dark: #000000;
JSON
{
  "hex": "#501e6c",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 108
  },
  "hsl": {
    "h": 278.462,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35016,
    "c": 0.13253,
    "h": 310.7
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#501E6C
secondary
#66A045
accent
#E0487E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #501E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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