#501C9F#501C9F

#501C9F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.190 H 293.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#501C9F
RGBrgb(80, 28, 159)
HSLhsl(264, 70%, 37%)
HSVhsv(264, 82%, 62%)
CMYKcmyk(49.7%, 82.4%, 0%, 37.6%)
CIE-LABlab(26.84, 51.21, -60.80)
CIE-LCHlch(26.84, 79.49, 310.11°)
OKLaboklab(39.29% 0.0755 -0.1746)
OKLCHoklch(39.29% 0.19 293.4)
XYZxyz(9.9798, 5.0388, 33.2409)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C9F #6B9F1C
analogous
#1C2A9F #501C9F #921C9F
triadic
#501C9F #9F501C #1C9F50
tetradic
#501C9F #9F1C2A #6B9F1C #1C9F92
square
#501C9F #9F1C2A #6B9F1C #1C9F92
split-complementary
#501C9F #9F921C #2A9F1C
monochromatic
#1C0A37 #36136B #501C9F #6A25D3 #8C54E1

Accessibility & contrast

On white

10.46
#501C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#501C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C9F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C9F#FFFFFF#000000##FFFFFF
##501C9F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#37435F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #501c9f;
/* rgb */ color: rgb(80, 28, 159);
/* oklch */ color: oklch(39.3% 0.190 293.4);
Tailwind
colors: {
  custom: {
    50: '#8a60bd',
    500: '#501c9f',
    950: '#000000',
  },
}
SCSS
$custom: #501c9f;
$custom-light: #8a60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#501c9f",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 263.817,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3929,
    "c": 0.19019,
    "h": 293.4
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#501C9F
secondary
#97C453
accent
#ED3BA6
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #501C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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