#501C9D#501C9D

#501C9D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.188 H 293.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#501C9D
RGBrgb(80, 28, 157)
HSLhsl(264, 70%, 36%)
HSVhsv(264, 82%, 62%)
CMYKcmyk(49%, 82.2%, 0%, 38.4%)
CIE-LABlab(26.65, 50.69, -59.90)
CIE-LCHlch(26.65, 78.47, 310.24°)
OKLaboklab(39.1% 0.0762 -0.1719)
OKLCHoklch(39.1% 0.188 293.9)
XYZxyz(9.8076, 4.9700, 32.3343)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C9D #699D1C
analogous
#1C299D #501C9D #911C9D
triadic
#501C9D #9D501C #1C9D50
tetradic
#501C9D #9D1C29 #699D1C #1C9D91
square
#501C9D #9D1C29 #699D1C #1C9D91
split-complementary
#501C9D #9D911C #299D1C
monochromatic
#1B0935 #361369 #501C9D #6A25D1 #8C53E0

Accessibility & contrast

On white

10.53
#501C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#501C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C9D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C9D#FFFFFF#000000##FFFFFF
##501C9D1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#38425E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #501c9d;
/* rgb */ color: rgb(80, 28, 157);
/* oklch */ color: oklch(39.1% 0.188 293.9);
Tailwind
colors: {
  custom: {
    50: '#8a60bb',
    500: '#501c9d',
    950: '#000000',
  },
}
SCSS
$custom: #501c9d;
$custom-light: #8a60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#501c9d",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 264.186,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.18806,
    "h": 293.9
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#501C9D
secondary
#95C351
accent
#ED3BA5
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #501C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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