#501E6B#501E6B

#501E6B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.131 H 311.2°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#501E6B
RGBrgb(80, 30, 107)
HSLhsl(279, 56%, 27%)
HSVhsv(279, 72%, 42%)
CMYKcmyk(25.2%, 72%, 0%, 58%)
CIE-LABlab(22.64, 37.14, -35.00)
CIE-LCHlch(22.64, 51.03, 316.70°)
OKLaboklab(34.94% 0.0866 -0.0988)
OKLCHoklch(34.94% 0.131 311.2)
XYZxyz(6.4259, 3.6957, 14.2819)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E6B #396B1E
analogous
#2A1E6B #501E6B #6B1E60
triadic
#501E6B #6B501E #1E6B50
tetradic
#501E6B #6B2A1E #396B1E #1E606B
square
#501E6B #6B2A1E #396B1E #1E606B
split-complementary
#501E6B #606B1E #1E6B2A
monochromatic
#120718 #2C113B #501E6B #742B9B #973BC8

Accessibility & contrast

On white

12.07
#501E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501E6B
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E6B#FFFFFF#000000##FFFFFF
##501E6B1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#143769
Tritanopia (blue-blind)
#4D2E42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501e6b;
/* rgb */ color: rgb(80, 30, 107);
/* oklch */ color: oklch(34.9% 0.131 311.2);
Tailwind
colors: {
  custom: {
    50: '#845e96',
    500: '#501e6b',
    950: '#000000',
  },
}
SCSS
$custom: #501e6b;
$custom-light: #845e96;
$custom-dark: #000000;
JSON
{
  "hex": "#501e6b",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 278.961,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3494,
    "c": 0.13143,
    "h": 311.2
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#501E6B
secondary
#659F45
accent
#DF487D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #501E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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