#501E9F#501E9F

#501E9F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.188 H 293.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#501E9F
RGBrgb(80, 30, 159)
HSLhsl(263, 68%, 37%)
HSVhsv(263, 81%, 62%)
CMYKcmyk(49.7%, 81.1%, 0%, 37.6%)
CIE-LABlab(27.12, 50.40, -60.34)
CIE-LCHlch(27.12, 78.62, 309.87°)
OKLaboklab(39.48% 0.0741 -0.1733)
OKLCHoklch(39.48% 0.188 293.2)
XYZxyz(10.0288, 5.1369, 33.2573)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E9F #6D9F1E
analogous
#1E2C9F #501E9F #911E9F
triadic
#501E9F #9F501E #1E9F50
tetradic
#501E9F #9F1E2C #6D9F1E #1E9F91
square
#501E9F #9F1E2C #6D9F1E #1E9F91
split-complementary
#501E9F #9F911E #2C9F1E
monochromatic
#1C0B38 #36146C #501E9F #6A28D2 #8C58DF

Accessibility & contrast

On white

10.36
#501E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#501E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E9F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E9F#FFFFFF#000000##FFFFFF
##501E9F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#37445F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #501e9f;
/* rgb */ color: rgb(80, 30, 159);
/* oklch */ color: oklch(39.5% 0.188 293.2);
Tailwind
colors: {
  custom: {
    50: '#8a61bc',
    500: '#501e9f',
    950: '#000000',
  },
}
SCSS
$custom: #501e9f;
$custom-light: #8a61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#501e9f",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 263.256,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39481,
    "c": 0.18844,
    "h": 293.2
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#501E9F
secondary
#99C356
accent
#EB3DA8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #501E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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