#501E6D#501E6D

#501E6D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.134 H 310.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#501E6D
RGBrgb(80, 30, 109)
HSLhsl(278, 57%, 27%)
HSVhsv(278, 72%, 43%)
CMYKcmyk(26.6%, 72.5%, 0%, 57.3%)
CIE-LABlab(22.79, 37.62, -36.06)
CIE-LCHlch(22.79, 52.11, 316.22°)
OKLaboklab(35.09% 0.0864 -0.1019)
OKLCHoklch(35.09% 0.134 310.3)
XYZxyz(6.5323, 3.7383, 14.8425)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E6D #3B6D1E
analogous
#291E6D #501E6D #6D1E63
triadic
#501E6D #6D501E #1E6D50
tetradic
#501E6D #6D291E #3B6D1E #1E636D
square
#501E6D #6D291E #3B6D1E #1E636D
split-complementary
#501E6D #636D1E #1E6D29
monochromatic
#120718 #2D113D #501E6D #732B9D #953CC9

Accessibility & contrast

On white

12.02
#501E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#501E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E6D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E6D#FFFFFF#000000##FFFFFF
##501E6D1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#11376B
Tritanopia (blue-blind)
#4C2F43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501e6d;
/* rgb */ color: rgb(80, 30, 109);
/* oklch */ color: oklch(35.1% 0.134 310.3);
Tailwind
colors: {
  custom: {
    50: '#845e97',
    500: '#501e6d',
    950: '#000000',
  },
}
SCSS
$custom: #501e6d;
$custom-light: #845e97;
$custom-dark: #000000;
JSON
{
  "hex": "#501e6d",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 277.975,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35093,
    "c": 0.13363,
    "h": 310.3
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#501E6D
secondary
#67A145
accent
#E04880
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #501E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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